summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-07-23 15:48:13 -0400
committerDana Jansens <danakj@orodu.net>2007-07-24 17:04:29 -0400
commitfe825d1dd274ca1fdafdca333df6d6689ec039c6 (patch)
treebdd8fafb21e4cf15fc2a5bd3f9f3906624868905
parent662a6356c64ae86fffaf8cf386b47dedc2c0822d (diff)
smarter mouse wheel default actions
-rw-r--r--data/rc.xml22
1 files changed, 16 insertions, 6 deletions
diff --git a/data/rc.xml b/data/rc.xml
index ff5830dc..15ab65b0 100644
--- a/data/rc.xml
+++ b/data/rc.xml
@@ -331,14 +331,24 @@
</mousebind>
<mousebind button="Up" action="Click">
- <action name="Shade"/>
- <action name="FocusToBottom"/>
- <action name="Unfocus"/>
- <action name="Lower"/>
+ <action name="if">
+ <shaded>no</shaded>
+ <then>
+ <action name="Shade"/>
+ <action name="FocusToBottom"/>
+ <action name="Unfocus"/>
+ <action name="Lower"/>
+ </then>
+ </action>
</mousebind>
<mousebind button="Down" action="Click">
- <action name="Unshade"/>
- <action name="Raise"/>
+ <action name="if">
+ <shaded>yes</shaded>
+ <then>
+ <action name="Unshade"/>
+ <action name="Raise"/>
+ </then>
+ </action>
</mousebind>
<mousebind button="Right" action="Press">