From b0fa629769ef17cae28f137aad80f8c4798f7592 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 22 Jun 2007 14:32:50 +0000 Subject: add the unfocus action --- openbox/action.c | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'openbox/action.c') diff --git a/openbox/action.c b/openbox/action.c index a56f4cb4..cf1ba86f 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -454,16 +454,6 @@ ActionString actionstrings[] = action_directional_focus, setup_action_directional_focus_northwest }, - { - "unfocus", - action_unfocus, - setup_client_action - }, - { - "focustobottom", - action_focus_order_to_bottom, - setup_client_action - }, { "kill", action_kill, @@ -1020,12 +1010,6 @@ void action_run_string(const gchar *name, struct _ObClient *c, Time time) action_run(l, c, 0, time); } -void action_unfocus (union ActionData *data) -{ - if (data->client.any.c == focus_client) - focus_fallback(FALSE, FALSE, TRUE); -} - void action_iconify(union ActionData *data) { client_action_start(data); @@ -1033,11 +1017,6 @@ void action_iconify(union ActionData *data) client_action_end(data, config_focus_under_mouse); } -void action_focus_order_to_bottom(union ActionData *data) -{ - focus_order_to_bottom(data->client.any.c); -} - void action_unshaderaise(union ActionData *data) { if (data->client.any.c->shaded) -- cgit v1.2.3