summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index d52c908..76c2e38 100644
--- a/dwl.c
+++ b/dwl.c
@@ -2375,7 +2375,7 @@ setup(void)
* Initialise the XWayland X server.
* It will be started when the first X client is started.
*/
- if (!(xwayland = wlr_xwayland_create(dpy, compositor, 1))) {
+ if ((xwayland = wlr_xwayland_create(dpy, compositor, 1))) {
LISTEN_STATIC(&xwayland->events.ready, xwaylandready);
LISTEN_STATIC(&xwayland->events.new_surface, createnotifyx11);