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
No known key found for this signature in database
GPG key ID: E538897EE11B9624

2
dwl.c
View file

@ -2375,7 +2375,7 @@ setup(void)
* Initialise the XWayland X server. * Initialise the XWayland X server.
* It will be started when the first X client is started. * 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.ready, xwaylandready);
LISTEN_STATIC(&xwayland->events.new_surface, createnotifyx11); LISTEN_STATIC(&xwayland->events.new_surface, createnotifyx11);