• Home
  • Raw
  • Download

Lines Matching refs:focus

802 			focus_state_set_focus(state, keyboard->focus);  in replace_focus_state()
1273 struct weston_surface *focus; in surface_keyboard_focus_lost() local
1282 focus = weston_surface_get_main_surface(keyboard->focus); in surface_keyboard_focus_lost()
1283 if (focus == surface) in surface_keyboard_focus_lost()
1301 surface = weston_surface_get_main_surface(keyboard->focus); in take_surface_to_workspace_by_seat()
1852 struct weston_view *view = pointer->focus; in handle_pointer_focus()
1897 seat->focused_surface = weston_surface_get_main_surface(keyboard->focus); in handle_keyboard_focus()
2232 if (touch && touch->focus) in get_focused_output()
2233 output = touch->focus->output; in get_focused_output()
2234 else if (pointer && pointer->focus) in get_focused_output()
2235 output = pointer->focus->output; in get_focused_output()
2236 else if (keyboard && keyboard->focus) in get_focused_output()
2237 output = keyboard->focus->output; in get_focused_output()
2722 struct weston_surface *focus; in desktop_surface_move() local
2725 pointer->focus && in desktop_surface_move()
2728 focus = weston_surface_get_main_surface(pointer->focus->surface); in desktop_surface_move()
2729 if ((focus == surface) && in desktop_surface_move()
2733 touch->focus && in desktop_surface_move()
2735 focus = weston_surface_get_main_surface(touch->focus->surface); in desktop_surface_move()
2736 if ((focus == surface) && in desktop_surface_move()
2753 struct weston_surface *focus; in desktop_surface_resize() local
2758 pointer->focus == NULL) in desktop_surface_resize()
2761 focus = weston_surface_get_main_surface(pointer->focus->surface); in desktop_surface_resize()
2762 if (focus != surface) in desktop_surface_resize()
2926 if (!pointer || !pointer->focus) in desktop_surface_ping_timeout()
2929 shsurf = get_shell_surface(pointer->focus->surface); in desktop_surface_ping_timeout()
3354 struct weston_surface *focus; in move_binding() local
3358 if (pointer->focus == NULL) in move_binding()
3361 focus = pointer->focus->surface; in move_binding()
3363 surface = weston_surface_get_main_surface(focus); in move_binding()
3380 struct weston_surface *focus = keyboard->focus; in maximize_binding() local
3384 surface = weston_surface_get_main_surface(focus); in maximize_binding()
3399 struct weston_surface *focus = keyboard->focus; in fullscreen_binding() local
3404 surface = weston_surface_get_main_surface(focus); in fullscreen_binding()
3421 struct weston_surface *focus; in touch_move_binding() local
3425 if (touch->focus == NULL) in touch_move_binding()
3428 focus = touch->focus->surface; in touch_move_binding()
3429 surface = weston_surface_get_main_surface(focus); in touch_move_binding()
3446 struct weston_surface *focus; in resize_binding() local
3452 if (pointer->focus == NULL) in resize_binding()
3455 focus = pointer->focus->surface; in resize_binding()
3457 surface = weston_surface_get_main_surface(focus); in resize_binding()
3497 struct weston_surface *focus = pointer->focus->surface; in surface_opacity_binding() local
3501 surface = weston_surface_get_main_surface(focus); in surface_opacity_binding()
3747 struct weston_surface *focus; in rotate_binding() local
3751 if (pointer->focus == NULL) in rotate_binding()
3754 focus = pointer->focus->surface; in rotate_binding()
3756 base_surface = weston_surface_get_main_surface(focus); in rotate_binding()
3931 if (pointer->focus == NULL) in click_to_activate_binding()
3934 activate_binding(pointer->seat, data, pointer->focus, in click_to_activate_binding()
3946 if (touch->focus == NULL) in touch_to_activate_binding()
3949 activate_binding(touch->seat, data, touch->focus, in touch_to_activate_binding()
4692 focus_surface = keyboard->focus; in force_kill_binding()