diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-19 08:20:31 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-19 08:20:31 +0000 |
| commit | 9ca9bcc11c98c492d1304d99ff8eb268a2c00b20 (patch) | |
| tree | 889a8b86376cf7fb3c9a816eeede20fdd4be986e /plugins/mouse/mouse.c | |
| parent | 4732930eec3b68b18ba0df32903a0251719b943f (diff) | |
add mbinds for shading windows on the titlebar
Diffstat (limited to 'plugins/mouse/mouse.c')
| -rw-r--r-- | plugins/mouse/mouse.c | 7 |
1 files changed, 7 insertions, 0 deletions
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() |
