]> 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 63470918b72935c2b399e3650fe5b9d4f270e42e..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">
        menu is hidden again -->
   <middle>no</middle>
   <!-- center submenus vertically about the parent entry -->
-  <submenuShowDelay>200</submenuShowDelay>
+  <submenuShowDelay>100</submenuShowDelay>
   <!-- time to delay before showing a submenu after hovering over the parent
        entry.
        if this is a negative value, then the delay is infinite and the
This page took 0.026816 seconds and 4 git commands to generate.