From: Dana Jansens Date: Wed, 19 Mar 2003 08:20:31 +0000 (+0000) Subject: add mbinds for shading windows on the titlebar X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=9ca9bcc11c98c492d1304d99ff8eb268a2c00b20;p=chaz%2Fopenbox add mbinds for shading windows on the titlebar --- diff --git a/plugins/mouse/mouse.c b/plugins/mouse/mouse.c index aeb3c592..df27dd55 100644 --- a/plugins/mouse/mouse.c +++ b/plugins/mouse/mouse.c @@ -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()