diff options
author | emersion <contact@emersion.fr> | 2018-03-30 10:53:18 -0400 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-03-30 10:53:18 -0400 |
commit | 6c9d67b1059409750de683aec3b8b9be2da987cc (patch) | |
tree | 37f052eee9461d9e9178b7e160b6a1ba38adae83 /include | |
parent | Fix crash when override redirect views close (diff) | |
download | sway-6c9d67b1059409750de683aec3b8b9be2da987cc.tar.gz sway-6c9d67b1059409750de683aec3b8b9be2da987cc.tar.zst sway-6c9d67b1059409750de683aec3b8b9be2da987cc.zip |
Handle set_cursor requests from clients
Allow clients to set a custom cursor if they have the seat's
pointer focus.
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/input/cursor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h index a16b793b..64917ce5 100644 --- a/include/sway/input/cursor.h +++ b/include/sway/input/cursor.h | |||
@@ -9,6 +9,7 @@ struct sway_cursor { | |||
9 | struct wlr_xcursor_manager *xcursor_manager; | 9 | struct wlr_xcursor_manager *xcursor_manager; |
10 | 10 | ||
11 | double x, y; | 11 | double x, y; |
12 | struct wl_client *image_client; | ||
12 | 13 | ||
13 | struct wl_listener motion; | 14 | struct wl_listener motion; |
14 | struct wl_listener motion_absolute; | 15 | struct wl_listener motion_absolute; |