summaryrefslogtreecommitdiffstats
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
parenttie xdg_toplevel_decorations to Client (diff)
downloaddwl-23fd312409f86848da5b163ae5c19c8e50e09d7d.tar.gz
dwl-23fd312409f86848da5b163ae5c19c8e50e09d7d.tar.bz2
dwl-23fd312409f86848da5b163ae5c19c8e50e09d7d.tar.xz
dwl-23fd312409f86848da5b163ae5c19c8e50e09d7d.tar.zst
dwl-23fd312409f86848da5b163ae5c19c8e50e09d7d.zip
fix typo
Fixes: 7afdc191fe4e9b3d16604b7f0c96f9741247e2d2 Thanks to: David Donahue <david.donahue2996@gmail.com>
-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);