Lines Matching refs:focus
333 shseat->focused_surface = weston_surface_get_main_surface(keyboard->focus); in kiosk_shell_seat_handle_keyboard_focus()
616 if (keyboard && keyboard->focus == surface) in desktop_surface_removed()
698 struct weston_surface *focus; in desktop_surface_move() local
701 pointer->focus && in desktop_surface_move()
704 focus = weston_surface_get_main_surface(pointer->focus->surface); in desktop_surface_move()
705 if ((focus == surface) && in desktop_surface_move()
711 touch->focus && in desktop_surface_move()
713 focus = weston_surface_get_main_surface(touch->focus->surface); in desktop_surface_move()
714 if ((focus == surface) && in desktop_surface_move()
887 if (pointer->focus == NULL) in kiosk_shell_click_to_activate_binding()
890 kiosk_shell_activate_view(shell, pointer->focus, pointer->seat, in kiosk_shell_click_to_activate_binding()
903 if (touch->focus == NULL) in kiosk_shell_touch_to_activate_binding()
906 kiosk_shell_activate_view(shell, touch->focus, touch->seat, in kiosk_shell_touch_to_activate_binding()