• Home
  • Raw
  • Download

Lines Matching refs:surf_ctx

190 send_input_focus(struct input_context *ctx, struct ivisurface *surf_ctx,  in send_input_focus()  argument
195 t_ilm_surface surface_id = lyt_if->get_id_of_surface(surf_ctx->layout_surface); in send_input_focus()
206 struct ivisurface *surf_ctx = NULL; in input_ctrl_get_surf_ctx() local
208 wl_list_for_each(surf_ctx, &ctx->ivishell->list_surface, link) { in input_ctrl_get_surf_ctx()
209 if (lyt_surf == surf_ctx->layout_surface) { in input_ctrl_get_surf_ctx()
210 ret_ctx = surf_ctx; in input_ctrl_get_surf_ctx()
236 struct ivisurface *surf_ctx = NULL; in input_ctrl_get_surf_ctx_from_surf() local
242 surf_ctx = input_ctrl_get_surf_ctx(ctx, layout_surf); in input_ctrl_get_surf_ctx_from_surf()
244 return surf_ctx; in input_ctrl_get_surf_ctx_from_surf()
331 struct ivisurface *surf_ctx, struct weston_surface *w_surf) in input_ctrl_kbd_leave_surf() argument
337 st_focus = get_accepted_seat(surf_ctx, ctx_seat); in input_ctrl_kbd_leave_surf()
349 send_input_focus(ctx, surf_ctx, in input_ctrl_kbd_leave_surf()
356 struct ivisurface *surf_ctx, struct weston_surface *w_surf) in input_ctrl_kbd_enter_surf() argument
363 st_focus = get_accepted_seat(surf_ctx, ctx_seat); in input_ctrl_kbd_enter_surf()
374 send_input_focus(ctx, surf_ctx, in input_ctrl_kbd_enter_surf()
382 struct ivisurface *surf_ctx, int32_t enabled) in input_ctrl_kbd_set_focus_surf() argument
394 surf_ctx->layout_surface); in input_ctrl_kbd_set_focus_surf()
397 input_ctrl_kbd_enter_surf(ctx_seat, surf_ctx, w_surf); in input_ctrl_kbd_set_focus_surf()
399 input_ctrl_kbd_leave_surf(ctx_seat, surf_ctx, w_surf); in input_ctrl_kbd_set_focus_surf()
409 struct ivisurface *surf_ctx; in keyboard_grab_key() local
423 wl_list_for_each(surf_ctx, &seat_ctx->input_ctx->ivishell->list_surface, link) { in keyboard_grab_key()
425 st_focus = get_accepted_seat(surf_ctx, seat_ctx); in keyboard_grab_key()
432 surface = interface->surface_get_weston_surface(surf_ctx->layout_surface); in keyboard_grab_key()
443 struct ivisurface *surf_ctx; in keyboard_grab_modifiers() local
457 wl_list_for_each(surf_ctx, &seat_ctx->input_ctx->ivishell->list_surface, link) { in keyboard_grab_modifiers()
459 st_focus = get_accepted_seat(surf_ctx, seat_ctx); in keyboard_grab_modifiers()
468 surface = interface->surface_get_weston_surface(surf_ctx->layout_surface); in keyboard_grab_modifiers()
497 input_ctrl_snd_focus_to_controller(struct ivisurface *surf_ctx, in input_ctrl_snd_focus_to_controller() argument
504 if (NULL != surf_ctx) { in input_ctrl_snd_focus_to_controller()
505 st_focus = get_accepted_seat(surf_ctx, ctx_seat); in input_ctrl_snd_focus_to_controller()
513 send_input_focus(ctx, surf_ctx, device, enabled); in input_ctrl_snd_focus_to_controller()
523 struct ivisurface *surf_ctx; in input_ctrl_ptr_leave_west_focus() local
527 surf_ctx = input_ctrl_get_surf_ctx_from_surf(ctx, in input_ctrl_ptr_leave_west_focus()
530 input_ctrl_snd_focus_to_controller(surf_ctx, ctx_seat, in input_ctrl_ptr_leave_west_focus()
543 struct ivisurface *surf_ctx; in input_ctrl_ptr_set_west_focus() local
560 surf_ctx = input_ctrl_get_surf_ctx_from_surf(ctx, in input_ctrl_ptr_set_west_focus()
563 input_ctrl_snd_focus_to_controller(surf_ctx, ctx_seat, in input_ctrl_ptr_set_west_focus()
569 surf_ctx = input_ctrl_get_surf_ctx_from_surf(ctx, view->surface); in input_ctrl_ptr_set_west_focus()
571 if (NULL != surf_ctx) { in input_ctrl_ptr_set_west_focus()
573 st_focus = input_ctrl_snd_focus_to_controller(surf_ctx, in input_ctrl_ptr_set_west_focus()
610 struct ivisurface *surf_ctx, int32_t enabled) in input_ctrl_ptr_set_focus_surf() argument
616 if (ctx_seat->forced_ptr_focus_surf != surf_ctx) { in input_ctrl_ptr_set_focus_surf()
617 ctx_seat->forced_ptr_focus_surf = surf_ctx; in input_ctrl_ptr_set_focus_surf()
623 if (ctx_seat->forced_ptr_focus_surf == surf_ctx) { in input_ctrl_ptr_set_focus_surf()
739 struct ivisurface *surf_ctx; in input_ctrl_touch_set_west_focus() local
745 surf_ctx = input_ctrl_get_surf_ctx_from_surf(ctx_seat->input_ctx, in input_ctrl_touch_set_west_focus()
748 if (NULL != surf_ctx) { in input_ctrl_touch_set_west_focus()
750 st_focus = input_ctrl_snd_focus_to_controller(surf_ctx, ctx_seat, in input_ctrl_touch_set_west_focus()
753 st_focus = get_accepted_seat(surf_ctx, ctx_seat); in input_ctrl_touch_set_west_focus()
786 struct ivisurface *surf_ctx; in input_ctrl_touch_clear_focus() local
790 surf_ctx = input_ctrl_get_surf_ctx_from_surf(ctx, in input_ctrl_touch_clear_focus()
793 input_ctrl_snd_focus_to_controller(surf_ctx, ctx_seat, in input_ctrl_touch_clear_focus()
823 struct ivisurface *surf_ctx; in touch_grab_up() local
827 surf_ctx = input_ctrl_get_surf_ctx_from_surf(ctx, in touch_grab_up()
830 input_ctrl_snd_focus_to_controller(surf_ctx, in touch_grab_up()
1013 input_ctrl_free_surf_ctx(struct input_context *ctx, struct ivisurface *surf_ctx) in input_ctrl_free_surf_ctx() argument
1020 &surf_ctx->accepted_seat_list, link) { in input_ctrl_free_surf_ctx()
1023 if (seat_ctx->forced_ptr_focus_surf == surf_ctx) in input_ctrl_free_surf_ctx()
1251 struct ivisurface *surf_ctx; in destroy_input_context() local
1259 wl_list_for_each_safe(surf_ctx, tmp_surf_ctx, in destroy_input_context()
1261 input_ctrl_free_surf_ctx(ctx, surf_ctx); in destroy_input_context()