Lines Matching refs:xdg

221 handle_configure_xdg_shell_surface(void *data, struct xdg_surface *xdg, uint32_t serial)  in handle_configure_xdg_shell_surface()  argument
227 if (!wind->shell_surface.xdg.initial_configure_seen) { in handle_configure_xdg_shell_surface()
239 xdg_surface_ack_configure(xdg, serial); in handle_configure_xdg_shell_surface()
246 wind->shell_surface.xdg.initial_configure_seen = SDL_TRUE; in handle_configure_xdg_shell_surface()
480 if (viddata->shell.xdg) { in SetFullscreen()
482 xdg_toplevel_set_fullscreen(wind->shell_surface.xdg.roleobj.toplevel, output); in SetFullscreen()
484 xdg_toplevel_unset_fullscreen(wind->shell_surface.xdg.roleobj.toplevel); in SetFullscreen()
591 if (viddata->shell.xdg) { in Wayland_RestoreWindow()
620 if (viddata->shell.xdg) { in Wayland_MaximizeWindow()
621 xdg_toplevel_set_maximized(wind->shell_surface.xdg.roleobj.toplevel); in Wayland_MaximizeWindow()
696 if (c->shell.xdg) { in Wayland_CreateWindow()
697 data->shell_surface.xdg.surface = xdg_wm_base_get_xdg_surface(c->shell.xdg, data->surface); in Wayland_CreateWindow()
699 …data->shell_surface.xdg.roleobj.toplevel = xdg_surface_get_toplevel(data->shell_surface.xdg.surfac… in Wayland_CreateWindow()
700 … xdg_toplevel_add_listener(data->shell_surface.xdg.roleobj.toplevel, &toplevel_listener_xdg, data); in Wayland_CreateWindow()
701 xdg_toplevel_set_app_id(data->shell_surface.xdg.roleobj.toplevel, c->classname); in Wayland_CreateWindow()
735 if (c->shell.xdg) { in Wayland_CreateWindow()
736 if (data->shell_surface.xdg.surface) { in Wayland_CreateWindow()
737 xdg_surface_set_user_data(data->shell_surface.xdg.surface, data); in Wayland_CreateWindow()
738 … xdg_surface_add_listener(data->shell_surface.xdg.surface, &shell_surface_listener_xdg, data); in Wayland_CreateWindow()
760 if (c->decoration_manager && c->shell.xdg && data->shell_surface.xdg.surface) { in Wayland_CreateWindow()
761 …anager_v1_get_toplevel_decoration(c->decoration_manager, data->shell_surface.xdg.roleobj.toplevel); in Wayland_CreateWindow()
790 if (c->shell.xdg) { in Wayland_CreateWindow()
791 if (data->shell_surface.xdg.surface) { in Wayland_CreateWindow()
792 while (!data->shell_surface.xdg.initial_configure_seen) { in Wayland_CreateWindow()
831 if (data->waylandData->shell.xdg) { in Wayland_HandlePendingResize()
832 xdg_surface_ack_configure(data->shell_surface.xdg.surface, data->resize.serial); in Wayland_HandlePendingResize()
872 if (viddata->shell.xdg) { in Wayland_SetWindowTitle()
873 xdg_toplevel_set_title(wind->shell_surface.xdg.roleobj.toplevel, window->title); in Wayland_SetWindowTitle()
905 if (data->shell.xdg) { in Wayland_DestroyWindow()
906 if (wind->shell_surface.xdg.roleobj.toplevel) { in Wayland_DestroyWindow()
907 xdg_toplevel_destroy(wind->shell_surface.xdg.roleobj.toplevel); in Wayland_DestroyWindow()
910 xdg_surface_destroy(wind->shell_surface.xdg.surface); in Wayland_DestroyWindow()