diff options
Diffstat (limited to 'include/client')
-rw-r--r-- | include/client/client.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/client/client.h b/include/client/client.h index b823235b..30ec25c0 100644 --- a/include/client/client.h +++ b/include/client/client.h | |||
@@ -2,6 +2,7 @@ | |||
2 | #define _CLIENT_H | 2 | #define _CLIENT_H |
3 | 3 | ||
4 | #include <wayland-client.h> | 4 | #include <wayland-client.h> |
5 | #include "wayland-desktop-shell-client-protocol.h" | ||
5 | #include <cairo/cairo.h> | 6 | #include <cairo/cairo.h> |
6 | #include <pango/pangocairo.h> | 7 | #include <pango/pangocairo.h> |
7 | #include <stdbool.h> | 8 | #include <stdbool.h> |
@@ -41,13 +42,14 @@ struct client_state { | |||
41 | struct wl_surface *surface; | 42 | struct wl_surface *surface; |
42 | struct wl_shell_surface *shell_surface; | 43 | struct wl_shell_surface *shell_surface; |
43 | struct wl_callback *frame_cb; | 44 | struct wl_callback *frame_cb; |
45 | struct desktop_shell *desktop_shell; | ||
44 | struct cursor cursor; | 46 | struct cursor cursor; |
45 | uint32_t width, height; | 47 | uint32_t width, height; |
46 | cairo_t *cairo; | 48 | cairo_t *cairo; |
47 | list_t *outputs; | 49 | list_t *outputs; |
48 | }; | 50 | }; |
49 | 51 | ||
50 | struct client_state *client_setup(uint32_t width, uint32_t height); | 52 | struct client_state *client_setup(uint32_t width, uint32_t height, bool shell_surface); |
51 | void client_teardown(struct client_state *state); | 53 | void client_teardown(struct client_state *state); |
52 | int client_prerender(struct client_state *state); | 54 | int client_prerender(struct client_state *state); |
53 | int client_render(struct client_state *state); | 55 | int client_render(struct client_state *state); |