diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-07-10 23:27:02 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-07-10 23:27:02 +0000 |
| commit | 81af5a8b0caadc0a82ff2304c315f816c9576e93 (patch) | |
| tree | ccbe40fccf5bd00b6a5cba87c20aec3ad8b6e55a /openbox/action.c | |
| parent | b0e8e276e451639689ebc9c58c1afe54897bceb2 (diff) | |
add disabled buttons, instead of now showing buttons at all when they wont do anything, now show a disabled button instead. this severely breaks compatibility with blackbox themes since there is no good way to automiatically create a disabled button that i can think of, so if they dont exist in the theme you get black and white for the button.
when a window cant be resized, its handle is not removed but its grips are.
change allowing the user to disable individual decorations as that is overkill,
instead allow a toggle through the client.decorate boolean.
Diffstat (limited to 'openbox/action.c')
| -rw-r--r-- | openbox/action.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/action.c b/openbox/action.c index 6e06d374..a14ea7cc 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -1105,7 +1105,7 @@ void action_toggle_decorations(union ActionData *data) if (!c) return; - c->disabled_decorations = c->disabled_decorations ? 0 : ~0; + c->decorate = !c->decorate; client_setup_decor_and_functions(c); } |
