aboutsummaryrefslogtreecommitdiff
path: root/examples/touch.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/touch.c')
-rw-r--r--examples/touch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/touch.c b/examples/touch.c
index 07d44563..39dd1d45 100644
--- a/examples/touch.c
+++ b/examples/touch.c
@@ -161,6 +161,8 @@ static void new_output_notify(struct wl_listener *listener, void *data) {
sample_output->frame.notify = output_frame_notify;
wl_signal_add(&output->events.destroy, &sample_output->destroy);
sample_output->destroy.notify = output_remove_notify;
+
+ wlr_output_commit(output);
}
static void keyboard_key_notify(struct wl_listener *listener, void *data) {