build(config.mk): enable XWayland with XWAYLAND flag

Signed-off by: Remi randormi@devcpu.co

Signed-off-by: Remi Akirazar <randormi@devcpu.co>
This commit is contained in:
Remi Akirazar 2026-02-24 21:55:38 -05:00
parent 9b76ee8e90
commit b45f56a0db
No known key found for this signature in database
GPG Key ID: FD905641D295ED33

View File

@ -24,11 +24,11 @@ WLR_LIBS = `$(PKG_CONFIG) --libs wlroots-0.19`
# -I$(PWD)/wlroots/0.19/include/wlroots-0.19
#WLR_LIBS = -Wl,-rpath,$(PWD)/wlroots/0.19/lib64 -L$(PWD)/wlroots/0.19/lib64 -lwlroots-0.19
XWAYLAND =
XLIBS =
#XWAYLAND =
#XLIBS =
# Uncomment to build XWayland support
#XWAYLAND = -DXWAYLAND
#XLIBS = xcb xcb-icccm
XWAYLAND = -DXWAYLAND
XLIBS = xcb xcb-icccm
# dwl itself only uses C99 features, but wlroots' headers use anonymous unions (C11).
# To avoid warnings about them, we do not use -std=c99 and instead of using the