Fixes: 7afdc191fe
Thanks to: David Donahue <david.donahue2996@gmail.com>
This commit is contained in:
Leonardo Hernández Hernández 2023-12-18 14:08:09 -06:00
parent e39d931430
commit 23fd312409
Failed to generate hash of commit

2
dwl.c
View file

@ -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);