aboutsummaryrefslogtreecommitdiffstats
path: root/include/client/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/client/window.h')
-rw-r--r--include/client/window.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/client/window.h b/include/client/window.h
index 296dd9ed..fbfbbc5f 100644
--- a/include/client/window.h
+++ b/include/client/window.h
@@ -51,12 +51,14 @@ struct window {
51 struct wl_callback *frame_cb; 51 struct wl_callback *frame_cb;
52 struct cursor cursor; 52 struct cursor cursor;
53 uint32_t width, height; 53 uint32_t width, height;
54 int32_t scale;
54 char *font; 55 char *font;
55 cairo_t *cairo; 56 cairo_t *cairo;
56 struct pointer_input pointer_input; 57 struct pointer_input pointer_input;
57}; 58};
58 59
59struct window *window_setup(struct registry *registry, uint32_t width, uint32_t height, bool shell_surface); 60struct window *window_setup(struct registry *registry, uint32_t width, uint32_t height,
61 int32_t scale, bool shell_surface);
60void window_teardown(struct window *state); 62void window_teardown(struct window *state);
61int window_prerender(struct window *state); 63int window_prerender(struct window *state);
62int window_render(struct window *state); 64int window_render(struct window *state);