options: enable separate screen focus by default
When the user closes the active window, with separate screen focus disabled, a window on the other screen might get activated, which also switches the active screen to the other one. As this is quite unintuitive, and in my testing having separate screen focus enabled didn't have any other unintuitive side effects, this commit enables separate screen focus by default
This commit is contained in:
parent
c3c3f56e98
commit
d0c4aeeb08
4 changed files with 4 additions and 3 deletions
|
@ -211,6 +211,7 @@ void LockScreenTest::init()
|
|||
|
||||
workspace()->setActiveOutput(QPoint(640, 512));
|
||||
input()->pointer()->warp(QPoint(640, 512));
|
||||
options->setSeparateScreenFocus(false);
|
||||
}
|
||||
|
||||
void LockScreenTest::cleanup()
|
||||
|
|
|
@ -132,7 +132,7 @@
|
|||
</entry>
|
||||
|
||||
<entry key="SeparateScreenFocus" type="Bool">
|
||||
<default>false</default>
|
||||
<default>true</default>
|
||||
</entry>
|
||||
|
||||
<entry key="FocusStealingPreventionLevel" type="Int">
|
||||
|
|
|
@ -98,7 +98,7 @@
|
|||
<default>false</default>
|
||||
</entry>
|
||||
<entry name="SeparateScreenFocus" type="Bool">
|
||||
<default>false</default>
|
||||
<default>true</default>
|
||||
</entry>
|
||||
<entry name="RollOverDesktops" type="Bool">
|
||||
<default>false</default>
|
||||
|
|
|
@ -40,7 +40,7 @@ Options::Options(QObject *parent)
|
|||
, m_delayFocusInterval(0)
|
||||
, m_shadeHover(false)
|
||||
, m_shadeHoverInterval(0)
|
||||
, m_separateScreenFocus(false)
|
||||
, m_separateScreenFocus(true)
|
||||
, m_placement(PlacementNone)
|
||||
, m_activationDesktopPolicy(Options::defaultActivationDesktopPolicy())
|
||||
, m_borderSnapZone(0)
|
||||
|
|
Loading…
Reference in a new issue