summaryrefslogtreecommitdiff
path: root/src/surface.h
diff options
context:
space:
mode:
authorLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2020-09-26 12:53:19 +0200
committerLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2020-09-26 13:04:26 +0200
commit24e8ee33b509f71bbcaaffe83bd49eb144c2c1a7 (patch)
tree3906c5890d3ff9493e3bae1581c7c4fc2b6895cd /src/surface.h
parent4a1859161d80530ba62d970f4afab2c10876e3bc (diff)
downloadwlclock-24e8ee33b509f71bbcaaffe83bd49eb144c2c1a7.tar.gz
wlclock-24e8ee33b509f71bbcaaffe83bd49eb144c2c1a7.tar.bz2
Render on callback
Diffstat (limited to 'src/surface.h')
-rw-r--r--src/surface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/surface.h b/src/surface.h
index d2dcb25..7262a42 100644
--- a/src/surface.h
+++ b/src/surface.h
@@ -26,6 +26,9 @@ struct Wlclock_surface
struct Wlclock_buffer hands_buffers[2];
struct Wlclock_buffer *current_hands_buffer;
bool configured;
+
+ struct wl_callback *frame_callback;
+ bool background_dirty, hands_dirty;
};
bool create_surface (struct Wlclock_output *output);