add mbinds for shading windows on the titlebar
This commit is contained in:
parent
4732930eec
commit
9ca9bcc11c
1 changed files with 7 additions and 0 deletions
|
@ -365,6 +365,13 @@ static void binddef()
|
||||||
mbind("1", "brcorner", MouseAction_Motion, a);
|
mbind("1", "brcorner", MouseAction_Motion, a);
|
||||||
a = action_new(action_resize);
|
a = action_new(action_resize);
|
||||||
mbind("A-3", "frame", MouseAction_Motion, a);
|
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()
|
void plugin_startup()
|
||||||
|
|
Loading…
Reference in a new issue