diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-22 15:39:20 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-22 15:39:20 +0000 |
| commit | d468f85300f2ec00daa08754f8e782c75a1f8590 (patch) | |
| tree | 5c2f9e6354d1a337878149c83c030c755a8e1e8d /openbox/action.c | |
| parent | 597c9c9321b6f96250da0891be98d41c7ac2c109 (diff) | |
add max horz/vert actions. add toggle/on/off ability to all the maximize actions.
add shade action.
Diffstat (limited to 'openbox/action.c')
| -rw-r--r-- | openbox/action.c | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/openbox/action.c b/openbox/action.c index dca4ede4..1bc85db2 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -470,31 +470,11 @@ ActionString actionstrings[] = 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, setup_client_action @@ -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; |
