aboutsummaryrefslogtreecommitdiff
path: root/swt.c
diff options
context:
space:
mode:
Diffstat (limited to 'swt.c')
-rw-r--r--swt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/swt.c b/swt.c
index 860a85e..9c05200 100644
--- a/swt.c
+++ b/swt.c
@@ -288,6 +288,7 @@ draw_frame()
void
commit_surface()
{
+ push_buffer(win.canvas);
wl_surface_attach(win.surface.wl, win.canvas->buffer, 0, 0);
wl_surface_damage_buffer(win.surface.wl, 0, 0, win.width, win.height);
wl_surface_commit(win.surface.wl);