• Home
  • Raw
  • Download

Lines Matching full:shell

38 #include "fullscreen-shell-unstable-v1-server-protocol.h"
57 * This is implemented as a list in case someone fixes the shell
64 struct fullscreen_shell *shell; member
92 struct fullscreen_shell *shell; member
124 replace_default_surface(struct fullscreen_shell *shell, struct weston_surface *surface, in replace_default_surface() argument
129 if (!wl_list_empty(&shell->default_surface_list)) in replace_default_surface()
130 prev = container_of(shell->default_surface_list.prev, in replace_default_surface()
143 wl_list_insert(shell->default_surface_list.prev, &surf->link); in replace_default_surface()
182 wl_list_for_each(fsout, &listener->shell->output_list, link) { in seat_caps_changed()
212 listener->shell = container_of(l, struct fullscreen_shell, in seat_created()
318 fs_output_create(struct fullscreen_shell *shell, struct weston_output *output) in fs_output_create() argument
327 fsout->shell = shell; in fs_output_create()
328 wl_list_insert(&shell->output_list, &fsout->link); in fs_output_create()
336 fsout->black_view = create_black_surface(shell->compositor, fsout, in fs_output_create()
341 weston_layer_entry_insert(&shell->layer.view_list, in fs_output_create()
345 if (!wl_list_empty(&shell->default_surface_list)) { in fs_output_create()
346 surf = container_of(shell->default_surface_list.prev, in fs_output_create()
629 struct fullscreen_shell *shell = surface->committed_private; in configure_presented_surface() local
635 wl_list_for_each(fsout, &shell->output_list, link) in configure_presented_surface()
676 weston_layer_entry_insert(&fsout->shell->layer.view_list, in fs_output_apply_pending()
710 surface->committed_private = fsout->shell; in fs_output_set_surface()
752 struct fullscreen_shell *shell = in fullscreen_shell_present_surface() local
779 replace_default_surface(shell, surface, method); in fullscreen_shell_present_surface()
781 wl_list_for_each(fsout, &shell->output_list, link) in fullscreen_shell_present_surface()
786 wl_list_for_each(seat, &shell->compositor->seat_list, link) { in fullscreen_shell_present_surface()
812 struct fullscreen_shell *shell = in fullscreen_shell_present_surface_for_mode() local
837 wl_list_for_each(seat, &shell->compositor->seat_list, link) { in fullscreen_shell_present_surface_for_mode()
855 struct fullscreen_shell *shell; in output_created() local
857 shell = container_of(listener, struct fullscreen_shell, in output_created()
860 fs_output_create(shell, data); in output_created()
866 struct fullscreen_shell *shell = container_of(listener, in client_destroyed() local
869 shell->client = NULL; in client_destroyed()
876 struct fullscreen_shell *shell = data; in bind_fullscreen_shell() local
879 if (shell->client != NULL && shell->client != client) in bind_fullscreen_shell()
881 else if (shell->client == NULL) { in bind_fullscreen_shell()
882 shell->client = client; in bind_fullscreen_shell()
883 wl_client_add_destroy_listener(client, &shell->client_destroyed); in bind_fullscreen_shell()
891 shell, NULL); in bind_fullscreen_shell()
893 if (shell->compositor->capabilities & WESTON_CAP_CURSOR_PLANE) in bind_fullscreen_shell()
897 if (shell->compositor->capabilities & WESTON_CAP_ARBITRARY_MODES) in bind_fullscreen_shell()
906 struct fullscreen_shell *shell; in wet_shell_init() local
910 shell = zalloc(sizeof *shell); in wet_shell_init()
911 if (shell == NULL) in wet_shell_init()
914 shell->compositor = compositor; in wet_shell_init()
915 wl_list_init(&shell->default_surface_list); in wet_shell_init()
917 shell->client_destroyed.notify = client_destroyed; in wet_shell_init()
919 weston_layer_init(&shell->layer, compositor); in wet_shell_init()
920 weston_layer_set_position(&shell->layer, in wet_shell_init()
923 wl_list_init(&shell->output_list); in wet_shell_init()
924 shell->output_created_listener.notify = output_created; in wet_shell_init()
926 &shell->output_created_listener); in wet_shell_init()
928 fs_output_create(shell, output); in wet_shell_init()
930 shell->seat_created_listener.notify = seat_created; in wet_shell_init()
932 &shell->seat_created_listener); in wet_shell_init()
934 seat_created(&shell->seat_created_listener, seat); in wet_shell_init()
937 &zwp_fullscreen_shell_v1_interface, 1, shell, in wet_shell_init()