aboutsummaryrefslogtreecommitdiff
path: root/examples/rotation.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rotation.c')
-rw-r--r--examples/rotation.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/rotation.c b/examples/rotation.c
index 3700351a..e76cc2a4 100644
--- a/examples/rotation.c
+++ b/examples/rotation.c
@@ -123,6 +123,8 @@ static void new_output_notify(struct wl_listener *listener, void *data) {
wl_signal_add(&output->events.destroy, &sample_output->destroy);
sample_output->destroy.notify = output_remove_notify;
wl_list_insert(&sample->outputs, &sample_output->link);
+
+ wlr_output_commit(output);
}
static void keyboard_key_notify(struct wl_listener *listener, void *data) {