aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/compositor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/compositor.c b/examples/compositor.c
index be9fc5ca..e143099c 100644
--- a/examples/compositor.c
+++ b/examples/compositor.c
@@ -178,7 +178,7 @@ int main() {
free(keymap);
break;
}
- wlr_xwayland_init(&state.wlr_xwayland, compositor.display);
+ wlr_xwayland_init(&state.wlr_xwayland, compositor.display, state.wlr_compositor);
compositor.keyboard_key_cb = handle_keyboard_key;