]> Dogcows Code - chaz/openbox/commitdiff
Show client menu on right click anywhere on a window frame (left and right were excluded)
authorDana Jansens <danakj@orodu.net>
Sun, 21 Feb 2010 18:40:01 +0000 (13:40 -0500)
committerDana Jansens <danakj@orodu.net>
Sun, 21 Feb 2010 18:40:22 +0000 (13:40 -0500)
data/rc.xml

index cacd73dd6d006f0139e55088fcabf95e637932a8..d1b387a11bec4bddacc6cd64481898c29beb10aa 100644 (file)
     <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.025862 seconds and 4 git commands to generate.