• Home
  • Raw
  • Download

Lines Matching refs:shell

125 		wl_list_for_each(shoutput, &shsurf->shell->output_list, link) {  in kiosk_shell_surface_find_best_output()
136 output = get_focused_output(shsurf->shell->compositor); in kiosk_shell_surface_find_best_output()
140 output = get_default_output(shsurf->shell->compositor); in kiosk_shell_surface_find_best_output()
281 kiosk_shell_surface_create(struct kiosk_shell *shell, in kiosk_shell_surface_create() argument
306 shsurf->shell = shell; in kiosk_shell_surface_create()
418 struct kiosk_shell *shell = shoutput->shell; in kiosk_shell_output_recreate_background() local
428 create_colored_surface(shoutput->shell->compositor, in kiosk_shell_output_recreate_background()
439 weston_layer_entry_insert(&shell->background_layer.view_list, in kiosk_shell_output_recreate_background()
492 struct weston_config *wc = wet_get_config(shoutput->shell->compositor); in kiosk_shell_output_configure()
515 kiosk_shell_output_create(struct kiosk_shell *shell, struct weston_output *output) in kiosk_shell_output_create() argument
524 shoutput->shell = shell; in kiosk_shell_output_create()
531 wl_list_insert(shell->output_list.prev, &shoutput->link); in kiosk_shell_output_create()
547 struct kiosk_shell *shell = data; in desktop_surface_added() local
551 shsurf = kiosk_shell_surface_create(shell, desktop_surface); in desktop_surface_added()
557 wl_list_for_each(seat, &shell->compositor->seat_list, link) in desktop_surface_added()
600 struct kiosk_shell *shell = data; in desktop_surface_removed() local
611 focus_view = find_focus_successor(&shell->normal_layer, shsurf); in desktop_surface_removed()
614 wl_list_for_each(seat, &shell->compositor->seat_list, link) { in desktop_surface_removed()
664 weston_layer_entry_insert(&shsurf->shell->normal_layer.view_list, in desktop_surface_committed()
690 struct weston_seat *seat, uint32_t serial, void *shell) in desktop_surface_move() argument
724 enum weston_desktop_surface_edge edges, void *shell) in desktop_surface_resize() argument
731 void *shell) in desktop_surface_set_parent() argument
744 struct weston_output *output, void *shell) in desktop_surface_fullscreen_requested() argument
769 bool maximized, void *shell) in desktop_surface_maximized_requested() argument
787 void *shell) in desktop_surface_minimized_requested() argument
805 int32_t x, int32_t y, void *shell) in desktop_surface_set_xwayland_position() argument
836 kiosk_shell_find_shell_output(struct kiosk_shell *shell, in kiosk_shell_find_shell_output() argument
841 wl_list_for_each(shoutput, &shell->output_list, link) { in kiosk_shell_find_shell_output()
850 kiosk_shell_activate_view(struct kiosk_shell *shell, in kiosk_shell_activate_view() argument
869 weston_layer_entry_insert(&shell->normal_layer.view_list, in kiosk_shell_activate_view()
883 struct kiosk_shell *shell = data; in kiosk_shell_click_to_activate_binding() local
890 kiosk_shell_activate_view(shell, pointer->focus, pointer->seat, in kiosk_shell_click_to_activate_binding()
899 struct kiosk_shell *shell = data; in kiosk_shell_touch_to_activate_binding() local
906 kiosk_shell_activate_view(shell, touch->focus, touch->seat, in kiosk_shell_touch_to_activate_binding()
911 kiosk_shell_add_bindings(struct kiosk_shell *shell) in kiosk_shell_add_bindings() argument
913 weston_compositor_add_button_binding(shell->compositor, BTN_LEFT, 0, in kiosk_shell_add_bindings()
915 shell); in kiosk_shell_add_bindings()
916 weston_compositor_add_button_binding(shell->compositor, BTN_RIGHT, 0, in kiosk_shell_add_bindings()
918 shell); in kiosk_shell_add_bindings()
919 weston_compositor_add_touch_binding(shell->compositor, 0, in kiosk_shell_add_bindings()
921 shell); in kiosk_shell_add_bindings()
927 struct kiosk_shell *shell = in kiosk_shell_handle_output_created() local
931 kiosk_shell_output_create(shell, output); in kiosk_shell_handle_output_created()
937 struct kiosk_shell *shell = in kiosk_shell_handle_output_resized() local
941 kiosk_shell_find_shell_output(shell, output); in kiosk_shell_handle_output_resized()
946 wl_list_for_each(view, &shell->normal_layer.view_list.link, in kiosk_shell_handle_output_resized()
961 struct kiosk_shell *shell = in kiosk_shell_handle_output_moved() local
966 wl_list_for_each(view, &shell->background_layer.view_list.link, in kiosk_shell_handle_output_moved()
975 wl_list_for_each(view, &shell->normal_layer.view_list.link, in kiosk_shell_handle_output_moved()
995 struct kiosk_shell *shell = in kiosk_shell_destroy() local
999 wl_list_remove(&shell->destroy_listener.link); in kiosk_shell_destroy()
1000 wl_list_remove(&shell->output_created_listener.link); in kiosk_shell_destroy()
1001 wl_list_remove(&shell->output_resized_listener.link); in kiosk_shell_destroy()
1002 wl_list_remove(&shell->output_moved_listener.link); in kiosk_shell_destroy()
1003 wl_list_remove(&shell->seat_created_listener.link); in kiosk_shell_destroy()
1005 wl_list_for_each_safe(shoutput, tmp, &shell->output_list, link) { in kiosk_shell_destroy()
1009 weston_desktop_destroy(shell->desktop); in kiosk_shell_destroy()
1011 free(shell); in kiosk_shell_destroy()
1018 struct kiosk_shell *shell; in wet_shell_init() local
1022 shell = zalloc(sizeof *shell); in wet_shell_init()
1023 if (shell == NULL) in wet_shell_init()
1026 shell->compositor = ec; in wet_shell_init()
1029 &shell->destroy_listener, in wet_shell_init()
1031 free(shell); in wet_shell_init()
1035 weston_layer_init(&shell->background_layer, ec); in wet_shell_init()
1036 weston_layer_init(&shell->normal_layer, ec); in wet_shell_init()
1038 weston_layer_set_position(&shell->background_layer, in wet_shell_init()
1042 weston_layer_set_position(&shell->normal_layer, in wet_shell_init()
1045 shell->desktop = weston_desktop_create(ec, &kiosk_shell_desktop_api, in wet_shell_init()
1046 shell); in wet_shell_init()
1047 if (!shell->desktop) in wet_shell_init()
1052 shell->seat_created_listener.notify = kiosk_shell_handle_seat_created; in wet_shell_init()
1053 wl_signal_add(&ec->seat_created_signal, &shell->seat_created_listener); in wet_shell_init()
1055 wl_list_init(&shell->output_list); in wet_shell_init()
1057 kiosk_shell_output_create(shell, output); in wet_shell_init()
1059 shell->output_created_listener.notify = kiosk_shell_handle_output_created; in wet_shell_init()
1060 wl_signal_add(&ec->output_created_signal, &shell->output_created_listener); in wet_shell_init()
1062 shell->output_resized_listener.notify = kiosk_shell_handle_output_resized; in wet_shell_init()
1063 wl_signal_add(&ec->output_resized_signal, &shell->output_resized_listener); in wet_shell_init()
1065 shell->output_moved_listener.notify = kiosk_shell_handle_output_moved; in wet_shell_init()
1066 wl_signal_add(&ec->output_moved_signal, &shell->output_moved_listener); in wet_shell_init()
1068 kiosk_shell_add_bindings(shell); in wet_shell_init()