diff options
author | Simon Ser <contact@emersion.fr> | 2023-05-05 16:34:35 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-07-24 11:28:31 +0200 |
commit | 6bd11ad0dfb11f8cf7e0ab5330cd2488851c5614 (patch) | |
tree | e19fefe24bfd0df60064702f7251e4d5175e2352 /include/sway | |
parent | dc634c4a1328668afe2b7c74e8b5828e187ebddd (diff) |
Add support for cursor-shape-v1
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4106
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/input/cursor.h | 2 | ||||
-rw-r--r-- | include/sway/server.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h index 1636588a..1e21c66f 100644 --- a/include/sway/input/cursor.h +++ b/include/sway/input/cursor.h @@ -145,4 +145,6 @@ uint32_t get_mouse_button(const char *name, char **error); const char *get_mouse_button_name(uint32_t button); +void handle_request_set_cursor_shape(struct wl_listener *listener, void *data); + #endif diff --git a/include/sway/server.h b/include/sway/server.h index 0e4ec2be..1eb308a4 100644 --- a/include/sway/server.h +++ b/include/sway/server.h @@ -120,6 +120,8 @@ struct sway_server { struct wl_listener xdg_activation_v1_request_activate; struct wl_listener xdg_activation_v1_new_token; + struct wl_listener request_set_cursor_shape; + struct wl_list pending_launcher_ctxs; // launcher_ctx::link // The timeout for transactions, after which a transaction is applied |