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 c853f8313a
)
icc-effect-master
parent
80a31ab4b7
commit
3609a029ea
|
@ -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)
|
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})
|
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(TARGETS kcm_kwinoptions DESTINATION ${PLUGIN_INSTALL_DIR})
|
||||||
|
|
||||||
########### install files ###############
|
########### install files ###############
|
||||||
|
|
|
@ -137,7 +137,7 @@
|
||||||
</entry>
|
</entry>
|
||||||
|
|
||||||
<entry key="ActiveMouseScreen" type="Bool">
|
<entry key="ActiveMouseScreen" type="Bool">
|
||||||
<default>true</default>
|
<default code="true">focusPolicy() != KWin::Options::ClickToFocus</default>
|
||||||
</entry>
|
</entry>
|
||||||
|
|
||||||
<entry key="FocusStealingPreventionLevel" type="Int">
|
<entry key="FocusStealingPreventionLevel" type="Int">
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
File=kwinoptions_settings.kcfg
|
File=kwinoptions_settings.kcfg
|
||||||
ClassName=KWinOptionsSettings
|
ClassName=KWinOptionsSettings
|
||||||
|
IncludeFiles=options.h
|
||||||
Mutators=true
|
Mutators=true
|
||||||
DefaultValueGetters=true
|
DefaultValueGetters=true
|
||||||
ParentInConstructor=true
|
ParentInConstructor=true
|
||||||
|
|
Loading…
Reference in New Issue