]> Dogcows Code - chaz/openbox/commitdiff
add mbinds for shading windows on the titlebar
authorDana Jansens <danakj@orodu.net>
Wed, 19 Mar 2003 08:20:31 +0000 (08:20 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 19 Mar 2003 08:20:31 +0000 (08:20 +0000)
plugins/mouse/mouse.c

index aeb3c59240066091ba944890542460ce9a5a4771..df27dd55b94a844c52d05f5ced8ad24b7168813c 100644 (file)
@@ -365,6 +365,13 @@ static void binddef()
     mbind("1", "brcorner", MouseAction_Motion, a);
     a = action_new(action_resize);
     mbind("A-3", "frame", MouseAction_Motion, a);
+
+    a = action_new(action_toggle_shade);
+    mbind("1", "titlebar", MouseAction_DClick, a);
+    a = action_new(action_shade);
+    mbind("4", "titlebar", MouseAction_Press, a);
+    a = action_new(action_unshade);
+    mbind("5", "titlebar", MouseAction_Click, a);
 }
 
 void plugin_startup()
This page took 0.023506 seconds and 4 git commands to generate.