a8ff9d39a7
Basically a simplified fork from kwayland-integration. We cannot use the idletime plugin from kwayland-integration as it a) doesn't react on our own qpa plugin name b) performs blocking roundtrips in the main thread -> freeze This simplifies by using our internal registry and we don't even check whether Seat and Idle are announced: we know they are. Reviewed-By: Bhushan Shah
17 lines
380 B
CMake
17 lines
380 B
CMake
set(idletime_plugin_SRCS
|
|
poller.cpp
|
|
)
|
|
|
|
add_library(KF5IdleTimeKWinWaylandPrivatePlugin MODULE ${idletime_plugin_SRCS})
|
|
target_link_libraries(KF5IdleTimeKWinWaylandPrivatePlugin
|
|
kwin
|
|
KF5::IdleTime
|
|
KF5::WaylandClient
|
|
)
|
|
|
|
install(
|
|
TARGETS
|
|
KF5IdleTimeKWinWaylandPrivatePlugin
|
|
DESTINATION
|
|
${PLUGIN_INSTALL_DIR}/kf5/org.kde.kidletime.platforms/
|
|
)
|