aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/cursor.h
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-03-30 10:53:18 -0400
committerLibravatar emersion <contact@emersion.fr>2018-03-30 10:53:18 -0400
commit6c9d67b1059409750de683aec3b8b9be2da987cc (patch)
tree37f052eee9461d9e9178b7e160b6a1ba38adae83 /include/sway/input/cursor.h
parentFix crash when override redirect views close (diff)
downloadsway-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/sway/input/cursor.h')
-rw-r--r--include/sway/input/cursor.h1
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;