ab7cc543b8
KWindowSystem ships fixx11h.h (X11 macro cleanup), netwm.h and netwm_def.h (EWMH) only with its X11 component, so a Wayland-only install lacks them. They carry no X11/ or xcb/ path prefix, so the prefix-only rule missed them: logout-greeter/shutdowndlg.cpp:51: fatal error: fixx11h.h: No such file The single remaining unguarded case is libtaskmanager/xwindowtasksmodel.cpp, which upstream excludes from the build via if(HAVE_X11) in libtaskmanager/CMakeLists.txt -- it is never compiled, so it is left alone rather than edited for appearance.