aboutsummaryrefslogtreecommitdiffstats
path: root/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'window.c')
-rw-r--r--window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/window.c b/window.c
index 3cc894f..94cd2bf 100644
--- a/window.c
+++ b/window.c
@@ -329,6 +329,8 @@ int main(int argc, char *argv[])
while (ret = poll(p, 1, 20), ret >= 0) {
mask = 0;
gears_draw(gears, angle);
+ wl_surface_damage(window.surface, 0, 0,
+ window.width, window.height);
angle += 1;
if (p[0].revents & POLLIN)
mask |= WL_CONNECTION_READABLE;