diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-25 23:07:15 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-25 23:07:15 +0000 |
| commit | b4fa843575f2276b521ec6507d7f213e7ddb6c67 (patch) | |
| tree | ff61623de44f056e8b59d751c38f024aa8a4fac5 /openbox/action.c | |
| parent | b2dd343095b264f949badf6da3824d279a8f28c8 (diff) | |
add client_set_undecorated().
add support for the _OB_WM_STATE_UNDECORATED state hint.
Diffstat (limited to 'openbox/action.c')
| -rw-r--r-- | openbox/action.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/openbox/action.c b/openbox/action.c index 22a5785e..b3fdf0f1 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -1214,8 +1214,7 @@ void action_toggle_decorations(union ActionData *data) ObClient *c = data->client.any.c; client_action_start(data); - c->decorate = !c->decorate; - client_setup_decor_and_functions(c); + client_set_undecorated(c, !c->undecorated); client_action_end(data); } |
