• Home
  • Raw
  • Download

Lines Matching refs:focus

44 	struct weston_view *focus;  member
510 if (drag->focus && view && drag->focus->surface == view->surface) { in weston_drag_set_focus()
511 drag->focus = view; in weston_drag_set_focus()
519 drag->focus = NULL; in weston_drag_set_focus()
564 drag->focus = view; in weston_drag_set_focus()
582 if (drag->base.focus != view) in drag_grab_focus()
609 weston_view_from_global_fixed(drag->base.focus, in drag_grab_motion()
775 if (drag->base.focus != view) in drag_grab_touch_focus()
805 weston_view_from_global_fixed(touch_drag->base.focus, in drag_grab_touch_motion()
1043 pointer->focus && in data_device_start_drag()
1044 pointer->focus->surface == origin; in data_device_start_drag()
1049 touch->focus && in data_device_start_drag()
1050 touch->focus->surface == origin; in data_device_start_drag()
1087 struct weston_surface *focus = NULL; in destroy_selection_data_source() local
1092 focus = keyboard->focus; in destroy_selection_data_source()
1093 if (focus && focus->resource) { in destroy_selection_data_source()
1095 wl_resource_get_client(focus->resource)); in destroy_selection_data_source()
1141 struct weston_surface *focus = NULL; in weston_seat_set_selection() local
1161 focus = keyboard->focus; in weston_seat_set_selection()
1162 if (focus && focus->resource) { in weston_seat_set_selection()
1163 weston_seat_send_selection(seat, wl_resource_get_client(focus->resource)); in weston_seat_set_selection()
1348 struct weston_surface *focus; in wl_data_device_set_keyboard_focus() local
1354 focus = keyboard->focus; in wl_data_device_set_keyboard_focus()
1355 if (!focus || !focus->resource) in wl_data_device_set_keyboard_focus()
1358 weston_seat_send_selection(seat, wl_resource_get_client(focus->resource)); in wl_data_device_set_keyboard_focus()