diff options
Diffstat (limited to 'include')
-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 { | |||
22 | bool busy; | 22 | bool busy; |
23 | }; | 23 | }; |
24 | 24 | ||
25 | struct cursor { | ||
26 | struct wl_surface *surface; | ||
27 | struct wl_cursor_theme *cursor_theme; | ||
28 | struct wl_cursor *cursor; | ||
29 | struct wl_poitner *pointer; | ||
30 | }; | ||
31 | |||
25 | struct client_state { | 32 | struct client_state { |
26 | struct wl_compositor *compositor; | 33 | struct wl_compositor *compositor; |
27 | struct wl_display *display; | 34 | struct wl_display *display; |
@@ -34,6 +41,7 @@ struct client_state { | |||
34 | struct wl_surface *surface; | 41 | struct wl_surface *surface; |
35 | struct wl_shell_surface *shell_surface; | 42 | struct wl_shell_surface *shell_surface; |
36 | struct wl_callback *frame_cb; | 43 | struct wl_callback *frame_cb; |
44 | struct cursor cursor; | ||
37 | uint32_t width, height; | 45 | uint32_t width, height; |
38 | cairo_t *cairo; | 46 | cairo_t *cairo; |
39 | list_t *outputs; | 47 | list_t *outputs; |