]> Dogcows Code - chaz/openbox/blobdiff - data/rc.xml
allow warping the mouse pointer when switching desktops by bumping into the edge...
[chaz/openbox] / data / rc.xml
index cacd73dd6d006f0139e55088fcabf95e637932a8..e4376a4b30ec84113f0328d569e4b352118b35d8 100644 (file)
   <!-- Time before changing desktops when the pointer touches the edge of the
        screen while moving a window, in milliseconds (1000 = 1 second).
        Set this to 0 to disable warping -->
+  <screenEdgeWarpMouse>false</screenEdgeWarpMouse>
+  <!-- Set this to TRUE to move the mouse pointer across the desktop when
+       switching due to hitting the edge of the screen -->
 
   <context name="Frame">
     <mousebind button="A-Left" action="Press">
     <mousebind button="Left" action="Drag">
       <action name="Resize"><edge>left</edge></action>
     </mousebind>
+
+    <mousebind button="Right" action="Press">
+      <action name="Focus"/>
+      <action name="Raise"/>
+      <action name="ShowMenu"><menu>client-menu</menu></action>
+    </mousebind>
   </context>
 
   <context name="Right">
     <mousebind button="Left" action="Drag">
       <action name="Resize"><edge>right</edge></action>
     </mousebind>
+
+    <mousebind button="Right" action="Press">
+      <action name="Focus"/>
+      <action name="Raise"/>
+      <action name="ShowMenu"><menu>client-menu</menu></action>
+    </mousebind>
   </context>
 
   <context name="Bottom">
This page took 0.025322 seconds and 4 git commands to generate.