From 24e8ee33b509f71bbcaaffe83bd49eb144c2c1a7 Mon Sep 17 00:00:00 2001 From: Leon Henrik Plickat Date: Sat, 26 Sep 2020 12:53:19 +0200 Subject: Render on callback --- src/surface.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/surface.h') 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); -- cgit v1.2.3