From d468f85300f2ec00daa08754f8e782c75a1f8590 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 22 Jun 2007 15:39:20 +0000 Subject: add max horz/vert actions. add toggle/on/off ability to all the maximize actions. add shade action. --- openbox/action.c | 50 -------------------------------------------------- 1 file changed, 50 deletions(-) (limited to 'openbox/action.c') diff --git a/openbox/action.c b/openbox/action.c index dca4ede4..1bc85db2 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -469,31 +469,11 @@ ActionString actionstrings[] = action_unshaderaise, setup_client_action }, - { - "shade", - action_shade, - setup_client_action - }, - { - "unshade", - action_unshade, - setup_client_action - }, - { - "toggleshade", - action_toggle_shade, - setup_client_action - }, { "toggleomnipresent", action_toggle_omnipresent, setup_client_action }, - { - "moverelativehorz", - action_move_relative_horz, - setup_client_action - }, { "resizerelativevert", action_resize_relative_vert, @@ -950,27 +930,6 @@ void action_kill(union ActionData *data) client_kill(data->client.any.c); } -void action_shade(union ActionData *data) -{ - client_action_start(data); - client_shade(data->client.any.c, TRUE); - client_action_end(data, config_focus_under_mouse); -} - -void action_unshade(union ActionData *data) -{ - client_action_start(data); - client_shade(data->client.any.c, FALSE); - client_action_end(data, config_focus_under_mouse); -} - -void action_toggle_shade(union ActionData *data) -{ - client_action_start(data); - client_shade(data->client.any.c, !data->client.any.c->shaded); - client_action_end(data, config_focus_under_mouse); -} - void action_toggle_omnipresent(union ActionData *data) { client_set_desktop(data->client.any.c, @@ -999,15 +958,6 @@ void action_resize_relative_vert(union ActionData *data) } } -void action_move_relative(union ActionData *data) -{ - ObClient *c = data->relative.any.c; - client_action_start(data); - client_move(c, c->area.x + data->relative.deltax, c->area.y + - data->relative.deltay); - client_action_end(data, FALSE); -} - void action_resize_relative(union ActionData *data) { ObClient *c = data->relative.any.c; -- cgit v1.2.3