Change the default for "active screen follows mouse" to true
This commit is contained in:
parent
a21571c832
commit
102f32112f
4 changed files with 3 additions and 8 deletions
|
@ -200,7 +200,7 @@
|
|||
<item row="6" column="1">
|
||||
<widget class="QCheckBox" name="kcfg_ActiveMouseScreen">
|
||||
<property name="whatsThis">
|
||||
<string>When this option is enabled, the active Xinerama screen (where new windows appear, for example) is the screen containing the mouse pointer. When disabled, the active Xinerama screen is the screen containing the focused window. By default this option is disabled for Click to focus and enabled for other focus policies.</string>
|
||||
<string>When this option is enabled, the active Xinerama screen (where new windows appear, for example) is the screen containing the mouse pointer. When disabled, the active Xinerama screen is the screen containing the focused window.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Active screen follows &mouse</string>
|
||||
|
|
|
@ -137,7 +137,7 @@
|
|||
</entry>
|
||||
|
||||
<entry key="ActiveMouseScreen" type="Bool">
|
||||
<default code="true">focusPolicy() != KWin::Options::ClickToFocus</default>
|
||||
<default>true</default>
|
||||
</entry>
|
||||
|
||||
<entry key="FocusStealingPreventionLevel" type="Int">
|
||||
|
|
|
@ -137,11 +137,6 @@ void KFocusConfig::focusPolicyChanged()
|
|||
// the delayed focus related widgets are: delayFocus
|
||||
m_ui->delayFocusOnLabel->setEnabled(focusPolicy != CLICK_TO_FOCUS);
|
||||
m_ui->kcfg_DelayFocusInterval->setEnabled(focusPolicy != CLICK_TO_FOCUS);
|
||||
|
||||
// on by default for non click to focus policies
|
||||
if (m_settings->activeMouseScreen() == m_settings->defaultActiveMouseScreenValue()) {
|
||||
m_ui->kcfg_ActiveMouseScreen->setChecked(focusPolicy != CLICK_TO_FOCUS && focusPolicy != CLICK_TO_FOCUS_MOUSE_PRECEDENT);
|
||||
}
|
||||
}
|
||||
|
||||
void KFocusConfig::showEvent(QShowEvent *ev)
|
||||
|
|
|
@ -103,7 +103,7 @@
|
|||
<default>false</default>
|
||||
</entry>
|
||||
<entry name="ActiveMouseScreen" type="Bool">
|
||||
<default code="true">focusPolicy() != Options::ClickToFocus</default>
|
||||
<default>true</default>
|
||||
</entry>
|
||||
<entry name="RollOverDesktops" type="Bool">
|
||||
<default>true</default>
|
||||
|
|
Loading…
Reference in a new issue