enable xwl

This commit is contained in:
Tsuki 2026-08-21 18:43:53 +08:00
parent 7bc934b1bf
commit 6c1fcc6053
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
option( option(
'xwayland', 'xwayland',
type: 'boolean', type: 'boolean',
value: false, value: true,
description: 'Enable XWayland support', description: 'Enable XWayland support',
) )

View file

@ -499,7 +499,7 @@ main(int argc, char *argv[])
wl_registry_add_listener(registry, &registry_listener, NULL); wl_registry_add_listener(registry, &registry_listener, NULL);
wl_display_dispatch(display); wl_display_dispatch(display);
wl_display_roundtrip(display); wl_display_roundtrip(display);
if (!dwl_ipc_manager && (mode & SET || tflag || lflag || Tflag || Lflag || cflag || vflag || mflag || fflag)) if (!dwl_ipc_manager && (mode & SET || tflag || lflag || Tflag || Lflag || cflag || vflag || mflag || fflag))
die("bad dwl-ipc protocol"); die("bad dwl-ipc protocol");