diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2015-11-18 19:38:42 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2015-11-18 19:38:42 -0500 |
| commit | 9ebd31bd8acadfcdc77e31eb1e693683a8b26fdc (patch) | |
| tree | aa3cac15c63d8af7cbb9598163a1f41db5738241 /include/client/client.h | |
| parent | 4a165a2ea11a55b04758b1c590e4207ff2909a28 (diff) | |
Support cursors over wayland clients
Apparently wayland has fucking client-side cursors, too
Diffstat (limited to 'include/client/client.h')
| -rw-r--r-- | include/client/client.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/client/client.h b/include/client/client.h index 5b24d315..b823235b 100644 --- a/include/client/client.h +++ b/include/client/client.h @@ -22,6 +22,13 @@ struct buffer { bool busy; }; +struct cursor { + struct wl_surface *surface; + struct wl_cursor_theme *cursor_theme; + struct wl_cursor *cursor; + struct wl_poitner *pointer; +}; + struct client_state { struct wl_compositor *compositor; struct wl_display *display; @@ -34,6 +41,7 @@ struct client_state { struct wl_surface *surface; struct wl_shell_surface *shell_surface; struct wl_callback *frame_cb; + struct cursor cursor; uint32_t width, height; cairo_t *cairo; list_t *outputs; |
