summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/rc.xml6
-rw-r--r--data/rc.xsd1
-rw-r--r--doc/rc-mouse-focus.xml6
3 files changed, 9 insertions, 4 deletions
diff --git a/data/rc.xml b/data/rc.xml
index 806e18e6..4e9b02a5 100644
--- a/data/rc.xml
+++ b/data/rc.xml
@@ -14,11 +14,13 @@
<focusNew>yes</focusNew>
<!-- always try to focus new windows when they appear. other rules do
apply -->
+ <followMouse>no</followMouse>
+ <!-- move focus to a window when you move the mouse into it -->
<focusLast>yes</focusLast>
<!-- focus the last used window when changing desktops, instead of the one
under the mouse pointer. when followMouse is enabled -->
- <followMouse>no</followMouse>
- <!-- move focus to a window when you move the mouse into it -->
+ <underMouse>no</underMouse>
+ <!-- move focus under the mouse, even when the mouse is not moving -->
<focusDelay>200</focusDelay>
<!-- when followMouse is enabled, the mouse must be inside the window for
this many milliseconds (1000 = 1 sec) before moving focus to it -->
diff --git a/data/rc.xsd b/data/rc.xsd
index 4f6d1a08..3b7097ac 100644
--- a/data/rc.xsd
+++ b/data/rc.xsd
@@ -44,6 +44,7 @@
<xsd:element minOccurs="0" name="focusNew" type="ob:bool"/>
<xsd:element minOccurs="0" name="focusLast" type="ob:bool"/>
<xsd:element minOccurs="0" name="followMouse" type="ob:bool"/>
+ <xsd:element minOccurs="0" name="underMouse" type="ob:bool"/>
<xsd:element minOccurs="0" name="focusDelay" type="xsd:integer"/>
<xsd:element minOccurs="0" name="raiseOnFocus" type="ob:bool"/>
</xsd:complexType>
diff --git a/doc/rc-mouse-focus.xml b/doc/rc-mouse-focus.xml
index acf2c14a..069c8dbf 100644
--- a/doc/rc-mouse-focus.xml
+++ b/doc/rc-mouse-focus.xml
@@ -14,11 +14,13 @@
<focusNew>yes</focusNew>
<!-- always try to focus new windows when they appear. other rules do
apply -->
+ <followMouse>yes</followMouse>
+ <!-- move focus to a window when you move the mouse into it -->
<focusLast>yes</focusLast>
<!-- focus the last used window when changing desktops, instead of the one
under the mouse pointer. when followMouse is enabled -->
- <followMouse>yes</followMouse>
- <!-- move focus to a window when you move the mouse into it -->
+ <underMouse>no</underMouse>
+ <!-- move focus under the mouse, even when the mouse is not moving -->
<focusDelay>200</focusDelay>
<!-- when followMouse is enabled, the mouse must be inside the window for
this many milliseconds (1000 = 1 sec) before moving focus to it -->