diff options
Diffstat (limited to '.config')
-rwxr-xr-x | .config/openbox/rc.xml | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/.config/openbox/rc.xml b/.config/openbox/rc.xml index 827b19a..b7f6327 100755 --- a/.config/openbox/rc.xml +++ b/.config/openbox/rc.xml @@ -647,7 +647,9 @@ <action name="Move"/> </mousebind> <mousebind button="Left" action="DoubleClick"> - <action name="ToggleShade"/> + <action name="Lower"/> + <action name="FocusToBottom"/> + <action name="Unfocus"/> </mousebind> <mousebind button="Up" action="Click"> <action name="if"> @@ -676,10 +678,23 @@ <action name="Raise"/> <!-- <action name="Unshade"/> --> </mousebind> - <mousebind button="Middle" action="Press"> - <action name="Lower"/> - <action name="FocusToBottom"/> - <action name="Unfocus"/> + <mousebind button="Middle" action="Click"> + <action name="ToggleShade"/> + <action name="if"> + <shaded>no</shaded> + <then> + <action name="Focus"/> + <action name="Raise"/> + </then> + </action> + <action name="if"> + <shaded>yes</shaded> + <then> + <action name="FocusToBottom"/> + <action name="Unfocus"/> + <action name="Lower"/> + </then> + </action> </mousebind> <mousebind button="Right" action="Press"> <action name="Focus"/> |