3041a7c32d
The KGlobalAccelD which gets created by KWin needs a plugin for the platform specific parts. This change introduces such a plugin. It's linked against kwin so that it can integrate with the core. On enable the plugin registers itself in the InputRedirection and GlobalShortcutsManager checks the plugin whether a shortcut got triggered. As the loading of the plugin must happen after InputRedirection is fully created a dedicated init method is added to InputRedirection. REVIEW: 124187
16 lines
358 B
CMake
16 lines
358 B
CMake
set(kglobalaccel_plugin_SRCS
|
|
kglobalaccel_plugin.cpp
|
|
)
|
|
|
|
add_library(KF5GlobalAccelPrivateKWin MODULE ${kglobalaccel_plugin_SRCS})
|
|
target_link_libraries(KF5GlobalAccelPrivateKWin
|
|
KF5::GlobalAccelPrivate
|
|
kwin
|
|
)
|
|
|
|
install(
|
|
TARGETS
|
|
KF5GlobalAccelPrivateKWin
|
|
DESTINATION
|
|
${PLUGIN_INSTALL_DIR}/org.kde.kglobalaccel5.platforms/
|
|
)
|