all repos — openbox @ 03931180fcf26ba556403f13a06bdfa603f7bcb5

openbox fork - make it a bit more like ryudo

add underMouse option
Dana Jansens danakj@orodu.net
commit

03931180fcf26ba556403f13a06bdfa603f7bcb5

parent

0df3d6f6c3e8d963a6cc49fecb21fb938d8212ff

3 files changed, 9 insertions(+), 4 deletions(-)

jump to
M data/rc.xmldata/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.xsddata/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.xmldoc/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 -->