From d846979db91a81781993b3e14f6bc0803b9c3ed1 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 22 Jun 2007 18:51:28 +0000 Subject: add the decorations action --- openbox/action.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'openbox/action.c') diff --git a/openbox/action.c b/openbox/action.c index 61c29721..2dca0dd5 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -432,11 +432,6 @@ ActionString actionstrings[] = action_desktop_dir, setup_action_desktop_down }, - { - "toggledecorations", - action_toggle_decorations, - setup_client_action - }, { "toggledockautohide", action_toggle_dockautohide, @@ -890,16 +885,6 @@ void action_desktop_last(union ActionData *data) screen_set_desktop(screen_last_desktop, TRUE); } -void action_toggle_decorations(union ActionData *data) -{ - ObClient *c = data->client.any.c; - - client_action_start(data); - client_set_undecorated(c, !c->undecorated); - client_action_end(data, FALSE); -} - - void action_directional_focus(union ActionData *data) { /* if using focus_delay, stop the timer now so that focus doesn't go moving -- cgit v1.2.3