all repos — openbox @ 9ca9bcc11c98c492d1304d99ff8eb268a2c00b20

openbox fork - make it a bit more like ryudo

add mbinds for shading windows on the titlebar
Dana Jansens danakj@orodu.net
commit

9ca9bcc11c98c492d1304d99ff8eb268a2c00b20

parent

4732930eec3b68b18ba0df32903a0251719b943f

1 files changed, 7 insertions(+), 0 deletions(-)

jump to
M plugins/mouse/mouse.cplugins/mouse/mouse.c

@@ -365,6 +365,13 @@ a = action_new(action_resize);

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()