From b4fa843575f2276b521ec6507d7f213e7ddb6c67 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 25 Sep 2003 23:07:15 +0000 Subject: add client_set_undecorated(). add support for the _OB_WM_STATE_UNDECORATED state hint. --- openbox/action.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'openbox/action.c') 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); } -- cgit v1.2.3