Lines Matching refs:focus_window
396 xwl_seat->focus_window = wl_surface_get_user_data(surface); in pointer_handle_enter()
397 dx = xwl_seat->focus_window->window->drawable.x; in pointer_handle_enter()
398 dy = xwl_seat->focus_window->window->drawable.y; in pointer_handle_enter()
437 xwl_seat->focus_window, in pointer_handle_enter()
454 if (xwl_seat->focus_window) { in pointer_handle_leave()
455 xwl_seat->last_xwindow = xwl_seat->focus_window->window; in pointer_handle_leave()
456 xwl_seat->focus_window = NULL; in pointer_handle_leave()
488 int dx = xwl_seat->focus_window->window->drawable.x; in dispatch_pointer_motion_event()
489 int dy = xwl_seat->focus_window->window->drawable.y; in dispatch_pointer_motion_event()
525 if (!xwl_seat->focus_window) in pointer_handle_motion()
614 if (!xwl_seat->focus_window) in pointer_handle_frame()
677 if (!xwl_seat->focus_window) in relative_pointer_handle_relative_motion()
2563 xwl_seat->focus_window == NULL && in sprite_check_lost_focus()
2625 if (!warp_emulator->xwl_seat->focus_window) in xwl_pointer_warp_emulator_set_fake_pos()
2628 window = warp_emulator->xwl_seat->focus_window->window; in xwl_pointer_warp_emulator_set_fake_pos()
2638 wl_surface_commit(warp_emulator->xwl_seat->focus_window->surface); in xwl_pointer_warp_emulator_set_fake_pos()
2658 struct xwl_window *lock_window = xwl_seat->focus_window; in xwl_pointer_warp_emulator_lock()
2686 if (!pointer_grab && xwl_seat->focus_window != xwl_window) in xwl_pointer_warp_emulator_maybe_lock()
2697 XYToWindow(sprite, x, y) != xwl_seat->focus_window->window) in xwl_pointer_warp_emulator_maybe_lock()
2735 window = xwl_seat->focus_window->window; in xwl_pointer_warp_emulator_handle_motion()
2840 if (!xwl_seat->focus_window) in xwl_seat_maybe_lock_on_hidden_cursor()