Commit 102f3211 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

Change the default for "active screen follows mouse" to true

parent a21571c8
......@@ -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 &amp;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>
......
Supports Markdown
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