Skip to content

cmake: Allow not building kwin_x11

Neal Gompa requested to merge ngompa/kwin:make-x11-backend-optional into master

Some distributions do not wish to build the KWin X11 backend as they do not use it, even though they wish to maintain X11 support for Xwayland when using KWin as a Wayland compositor.

Allow this choice by splitting the build flag and setting it up to forcibly disable building the backend when building X11 code is switched off.

Merge request reports