Lines Matching refs:container_of
241 grab = container_of(listener, struct shell_grab, in destroy_shell_grab_shsurf()
264 return container_of(surface->views.next, struct weston_view, surface_link); in get_default_view()
519 return container_of(compositor->output_list.next, in get_default_output()
630 struct focus_state *state = container_of(listener, in focus_state_seat_destroy()
641 struct focus_state *state = container_of(listener, in focus_state_surface_destroy()
905 struct workspace *ws = container_of(listener, in seat_destroyed()
1109 container_of(animation, struct desktop_shell, in animate_workspace_change_frame()
1178 output = container_of(shell->compositor->output_list.next, in animate_workspace_change()
1265 return container_of(e, struct weston_view, layer_link.link)->surface == surface; in workspace_has_only()
1362 (struct weston_touch_move_grab *) container_of( in touch_move_grab_up()
1404 (struct weston_touch_move_grab *) container_of( in touch_move_grab_cancel()
1533 struct shell_grab *shell_grab = container_of(grab, struct shell_grab, in move_grab_button()
1549 container_of(grab, struct shell_grab, grab); in move_grab_cancel()
1964 container_of(listener, in notify_output_destroy()
2250 container_of(listener, in destroy_shell_seat()
2264 seat = container_of(listener, struct shell_seat, caps_changed_listener); in shell_seat_caps_changed()
2326 return container_of(listener, in get_shell_seat()
3038 view = container_of(es->views.next, struct weston_view, surface_link); in background_committed()
3047 container_of(listener, struct shell_output, background_surface_listener); in handle_background_surface_destroy()
3120 view = container_of(es->views.next, struct weston_view, surface_link); in panel_committed()
3143 container_of(listener, struct shell_output, panel_surface_listener); in handle_panel_surface_destroy()
3212 view = container_of(surface->views.next, struct weston_view, surface_link); in lock_surface_committed()
3233 container_of(listener, struct desktop_shell, lock_surface_listener); in handle_lock_surface_destroy()
3600 container_of(grab, struct rotate_grab, base.grab); in rotate_grab_motion()
3669 container_of(grab, struct rotate_grab, base.grab); in rotate_grab_button()
3688 container_of(grab, struct rotate_grab, base.grab); in rotate_grab_cancel()
4218 container_of(listener, struct desktop_shell, idle_listener); in idle_handler()
4233 container_of(listener, struct desktop_shell, wake_listener); in wake_handler()
4402 shell = container_of(listener, struct desktop_shell, in desktop_shell_client_destroy()
4542 container_of(listener, struct switcher, listener); in switcher_handle_view_destroy()
4592 struct switcher *switcher = container_of(grab, struct switcher, grab); in switcher_key()
4604 struct switcher *switcher = container_of(grab, struct switcher, grab); in switcher_modifier()
4614 struct switcher *switcher = container_of(grab, struct switcher, grab); in switcher_cancel()
4817 first_output = container_of(ec->output_list.next, in shell_reposition_view_on_output_change()
4870 container_of(listener, struct shell_output, destroy_listener); in handle_output_destroy()
4903 container_of(listener, struct desktop_shell, resized_listener); in handle_output_resized()
4937 container_of(listener, struct desktop_shell, output_create_listener); in handle_output_create()
4966 shell = container_of(listener, struct desktop_shell, in handle_output_move()
4994 container_of(listener, struct desktop_shell, destroy_listener); in shell_destroy()