Move pointer and keyboard focus tracking into libwayland-server

This commit is contained in:
Kristian Høgsberg 2010-12-01 10:17:47 -05:00
parent 06bc26401c
commit 2643707391
4 changed files with 107 additions and 101 deletions

View file

@ -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;