mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-18 06:59:46 -05:00
Move pointer and keyboard focus tracking into libwayland-server
This commit is contained in:
parent
06bc26401c
commit
2643707391
4 changed files with 107 additions and 101 deletions
|
|
@ -95,11 +95,7 @@ struct wlsc_input_device {
|
|||
int32_t hotspot_x, hotspot_y;
|
||||
struct wl_list link;
|
||||
|
||||
struct wlsc_surface *pointer_focus;
|
||||
struct wlsc_surface *keyboard_focus;
|
||||
struct wl_array keys;
|
||||
uint32_t modifier_state;
|
||||
uint32_t pointer_focus_time;
|
||||
|
||||
enum wlsc_grab_type grab;
|
||||
struct wlsc_surface *grab_surface;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue