aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-03-30 10:53:18 -0400
committeremersion <contact@emersion.fr>2018-03-30 10:53:18 -0400
commit6c9d67b1059409750de683aec3b8b9be2da987cc (patch)
tree37f052eee9461d9e9178b7e160b6a1ba38adae83 /include/sway
parent2d460502812093b47f43295cf21636198e44edbb (diff)
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')
-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 {
struct wlr_xcursor_manager *xcursor_manager;
double x, y;
+ struct wl_client *image_client;
struct wl_listener motion;
struct wl_listener motion_absolute;