summaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-12-18 14:08:09 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2023-12-18 14:08:09 -0600
commit23fd312409f86848da5b163ae5c19c8e50e09d7d (patch)
treebf8bf8b97671e7ad43e3a4912f5ea41f7eec7aef /dwl.c
parente39d931430fdca12bf9cad28dfea3f2c938dd3fa (diff)
fix typo
Fixes: 7afdc191fe4e9b3d16604b7f0c96f9741247e2d2 Thanks to: David Donahue <david.donahue2996@gmail.com>
Diffstat (limited to 'dwl.c')
-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);