18939e17ed
By moving XRandrScreens the creation of screens gets simplified a lot as there is no need to have windowing system specific init code. It all just goes through the platform. This also marks the point where the first X11 specific code is removed from kwin_wayland. Reviewers: #plasma, sebas Subscribers: plasma-devel Projects: #plasma Differential Revision: https://phabricator.kde.org/D1355
14 lines
307 B
CMake
14 lines
307 B
CMake
set(X11PLATFORM_SOURCES
|
|
x11_platform.cpp
|
|
screens_xrandr.cpp
|
|
)
|
|
|
|
add_library(KWinX11Platform MODULE ${X11PLATFORM_SOURCES})
|
|
target_link_libraries(KWinX11Platform kwin Qt5::X11Extras)
|
|
|
|
install(
|
|
TARGETS
|
|
KWinX11Platform
|
|
DESTINATION
|
|
${PLUGIN_INSTALL_DIR}/org.kde.kwin.platforms/
|
|
)
|