Handle set_cursor requests from clients

Allow clients to set a custom cursor if they have the seat's
pointer focus.
This commit is contained in:
emersion 2018-03-30 10:53:18 -04:00
parent 2d46050281
commit 6c9d67b105
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 43 additions and 8 deletions

View file

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