]> git.draconx.ca Git - fvwmconf.git/commitdiff
bindings: Improve titlebar mouse bindings.
authorNick Bowler <nbowler@elliptictech.com>
Tue, 4 Oct 2011 14:26:23 +0000 (10:26 -0400)
committerNick Bowler <nbowler@elliptictech.com>
Tue, 20 Aug 2013 17:15:54 +0000 (13:15 -0400)
Having a double-click action (the default behaviour) on left-click
delays raising the window when clicking on the titlebar.  Remove that
action so that the raise is instantaneous.

common/bindings

index afc2962b13401d71416f10e1dca5172207e038a8..ff0d4e766dc0f20606b701e684f3e99ac5137a7f 100644 (file)
@@ -27,6 +27,15 @@ Key 6 A CM GotoPage 5 0
 Mouse 5 R A GotoPage wrapx +1p 0p
 Mouse 4 R A GotoPage wrapx -1p 0p
 
+# Window titlebar bindings
+DestroyFunc Title_M1Func
+AddToFunc   Title_M1Func
+ + C Raise
+ + M Move
+
+Mouse 1 T N Title_M1Func
+Mouse 2 T N Menu MenuWindow
+Mouse 3 T N Lower
 Mouse 4 T N Windowshade True
 Mouse 5 T N Windowshade False