diff --git a/openbox/actions/decorations.c b/openbox/actions/decorations.c index fa5606d1..bee25f3e 100644 --- a/openbox/actions/decorations.c +++ b/openbox/actions/decorations.c @@ -18,7 +18,7 @@ static gboolean run_func_on(ObActionsData *data, gpointer options) { if (data->client) { actions_client_move(data, TRUE); - client_set_undecorated(data->client, TRUE); + client_set_undecorated(data->client, FALSE); actions_client_move(data, FALSE); } return FALSE; @@ -29,7 +29,7 @@ static gboolean run_func_off(ObActionsData *data, gpointer options) { if (data->client) { actions_client_move(data, TRUE); - client_set_undecorated(data->client, FALSE); + client_set_undecorated(data->client, TRUE); actions_client_move(data, FALSE); } return FALSE;