summaryrefslogtreecommitdiff
path: root/src/surface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/surface.h')
-rw-r--r--src/surface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/surface.h b/src/surface.h
index 57dd239..0f6ce48 100644
--- a/src/surface.h
+++ b/src/surface.h
@@ -4,6 +4,7 @@
#include<wayland-server.h>
#include"buffer.h"
+#include"wlclock.h"
#include<stdint.h>
#include<stdbool.h>
@@ -17,7 +18,7 @@ struct Wlclock_surface
struct wl_surface *surface;
struct zwlr_layer_surface_v1 *layer_surface;
- int32_t size;
+ struct Wlclock_dimensions dimensions;
struct Wlclock_buffer buffers[2];
struct Wlclock_buffer *current_buffer;
bool configured;