add underMouse option
Dana Jansens danakj@orodu.net
3 files changed,
9 insertions(+),
4 deletions(-)
M
data/rc.xml
→
data/rc.xml
@@ -14,11 +14,13 @@ <focus>
<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 -->
M
data/rc.xsd
→
data/rc.xsd
@@ -44,6 +44,7 @@ </xsd:annotation>
<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>
M
doc/rc-mouse-focus.xml
→
doc/rc-mouse-focus.xml
@@ -14,11 +14,13 @@ <focus>
<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 -->