]> Dogcows Code - chaz/openbox/blobdiff - doc/rc-mouse-focus.xml
Allow XIncludes in xml documents we read.
[chaz/openbox] / doc / rc-mouse-focus.xml
index acf2c14a0e8217aac3c8f37d2670684ca6b1ffba..06c3ce543ba000359270f4d2c38d3b03d0a5583a 100644 (file)
@@ -3,7 +3,8 @@
 <!-- Do not edit this file, it will be overwritten on install.
         Copy the file to $HOME/.config/openbox/ instead. -->
 
-<openbox_config xmlns="http://openbox.org/3.4/rc">
+<openbox_config xmlns="http://openbox.org/3.4/rc"
+               xmlns:xi="http://www.w3.org/2001/XInclude">
 
 <resistance>
   <strength>10</strength>
   <focusNew>yes</focusNew>
   <!-- always try to focus new windows when they appear. other rules do
        apply -->
-  <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 -->
+  <focusLast>no</focusLast>
+  <!-- focus the last used window when changing desktops, instead of the one
+       under the mouse pointer. when followMouse is enabled -->
+  <underMouse>yes</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 -->
         <enabled>true</enabled>
         <name>Konqueror</name>
       </startupnotify>
-      <execute>kfmclient openProfile filemanagement</execute>
+      <command>kfmclient openProfile filemanagement</command>
     </action>
   </keybind>
 </keyboard>
     <mousebind button="Left" action="Press">
       <action name="Focus"/>
     </mousebind>
+    <mousebind button="Right" action="Press">
+      <action name="Focus"/>
+    </mousebind>
   </context>
 
   <context name="Root">
This page took 0.021868 seconds and 4 git commands to generate.