commit 23fd312409f86848da5b163ae5c19c8e50e09d7d
parent e39d931430fdca12bf9cad28dfea3f2c938dd3fa
Author: Leonardo Hernández Hernández <leohdz172@proton.me>
Date: Mon, 18 Dec 2023 14:08:09 -0600
fix typo
Fixes: 7afdc191fe4e9b3d16604b7f0c96f9741247e2d2
Thanks to: David Donahue <david.donahue2996@gmail.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);