graesslin created this revision. graesslin added reviewers: KWin, Plasma on Wayland. Restricted Application added subscribers: kwin, plasma-devel. Restricted Application added projects: Plasma on Wayland, KWin.
REVISION SUMMARY And finally nothing inside libkwineffects, libkwinglutils, libkwinxrenderutils and kwineffect and kwin core uses KWin::display. We are finally XLib free! This change drops KWin::display and removes the include to QX11Info from kwinglobals.h. And the libraries no longer need to link X11Extras. Due to that removal a few seeming unrelated changes are required to add the include where needed and linkage to X11Extras. The biggest change is to x11 platform plugin which still needs the display and caches it in the Platform and passes it to various places in a way that the code doesn't need to be adjusted. REPOSITORY rKWIN KWin BRANCH kwinglobals-drop-display REVISION DETAIL https://phabricator.kde.org/D3337 AFFECTED FILES autotests/CMakeLists.txt autotests/mock_effectshandler.h autotests/test_client_machine.cpp autotests/test_screen_edges.cpp autotests/test_xcb_size_hints.cpp autotests/test_xcb_window.cpp autotests/test_xcb_wrapper.cpp kcmkwin/kwinrules/main.cpp libkwineffects/CMakeLists.txt libkwineffects/kwinglobals.h main_x11.cpp plugins/platforms/x11/common/eglonxbackend.cpp plugins/platforms/x11/common/eglonxbackend.h plugins/platforms/x11/standalone/glxbackend.cpp plugins/platforms/x11/standalone/glxbackend.h plugins/platforms/x11/standalone/x11_platform.cpp plugins/platforms/x11/standalone/x11_platform.h plugins/platforms/x11/standalone/xinputintegration.cpp plugins/platforms/x11/standalone/xinputintegration.h tests/screenedgeshowtest.cpp utils.cpp EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #kwin, #plasma_on_wayland Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas