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 c853f8313a213a0f7d0f98f662f7e98849d547ca)
This commit is contained in:
parent
80a31ab4b7
commit
3609a029ea
3 changed files with 3 additions and 2 deletions
|
@ -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">
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
File=kwinoptions_settings.kcfg
|
||||
ClassName=KWinOptionsSettings
|
||||
IncludeFiles=options.h
|
||||
Mutators=true
|
||||
DefaultValueGetters=true
|
||||
ParentInConstructor=true
|
||||
|
|
Loading…
Reference in a new issue