Commit 3609a029 authored by Cyril Rossi's avatar Cyril Rossi
Browse files

KCM KWin Options setting ActiveMouseScreen set proper default value

Fix regression that was introduced by a mismatch in the default value of
ActiveMouseScreen option between kwin.kcfg and kwinoptions_settings.kcfg

BUG: 424389


(cherry picked from commit c853f831)
parent 80a31ab4
......@@ -21,7 +21,7 @@ kconfig_add_kcfg_files(kcm_kwinoptions_PART_SRCS kwinoptions_settings.kcfgc GENE
qt5_add_dbus_interface(kcm_kwinoptions_PART_SRCS ${KWin_SOURCE_DIR}/org.kde.kwin.Effects.xml kwin_effects_interface)
add_library(kcm_kwinoptions MODULE ${kcm_kwinoptions_PART_SRCS})
target_link_libraries(kcm_kwinoptions Qt5::DBus KF5::Completion KF5::I18n KF5::ConfigWidgets KF5::Service KF5::WindowSystem)
target_link_libraries(kcm_kwinoptions kwin Qt5::DBus KF5::Completion KF5::I18n KF5::ConfigWidgets KF5::Service KF5::WindowSystem)
install(TARGETS kcm_kwinoptions DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############
......
......@@ -137,7 +137,7 @@
</entry>
<entry key="ActiveMouseScreen" type="Bool">
<default>true</default>
<default code="true">focusPolicy() != KWin::Options::ClickToFocus</default>
</entry>
<entry key="FocusStealingPreventionLevel" type="Int">
......
File=kwinoptions_settings.kcfg
ClassName=KWinOptionsSettings
IncludeFiles=options.h
Mutators=true
DefaultValueGetters=true
ParentInConstructor=true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment