diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-22 15:18:43 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-22 15:18:43 +0000 |
| commit | 1e6c375fdd1d10ba0b019505436069d21c751945 (patch) | |
| tree | cda9498b820276d335f5416eec51e9d3aa6fa4cf /openbox/action.c | |
| parent | 06ed8ab6c03337710acba8d6a70781456e979384 (diff) | |
add the moveto action
Diffstat (limited to 'openbox/action.c')
| -rw-r--r-- | openbox/action.c | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/openbox/action.c b/openbox/action.c index 5b1fcd6c..61f346b1 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -500,11 +500,6 @@ ActionString actionstrings[] = setup_client_action }, { - "movetocenter", - action_move_to_center, - setup_client_action - }, - { "resizerelativehorz", action_resize_relative_horz, setup_client_action @@ -525,36 +520,6 @@ ActionString actionstrings[] = setup_client_action }, { - "maximizehorz", - action_maximize_horz, - setup_client_action - }, - { - "unmaximizehorz", - action_unmaximize_horz, - setup_client_action - }, - { - "togglemaximizehorz", - action_toggle_maximize_horz, - setup_client_action - }, - { - "maximizevert", - action_maximize_vert, - setup_client_action - }, - { - "unmaximizevert", - action_unmaximize_vert, - setup_client_action - }, - { - "togglemaximizevert", - action_toggle_maximize_vert, - setup_client_action - }, - { "sendtodesktop", action_send_to_desktop, setup_action_send_to_desktop @@ -1055,18 +1020,6 @@ void action_move_relative_vert(union ActionData *data) client_action_end(data, FALSE); } -void action_move_to_center(union ActionData *data) -{ - ObClient *c = data->client.any.c; - Rect *area; - area = screen_area(c->desktop, client_monitor(c), NULL); - client_action_start(data); - client_move(c, area->x + area->width / 2 - c->area.width / 2, - area->y + area->height / 2 - c->area.height / 2); - client_action_end(data, FALSE); - g_free(area); -} - void action_resize_relative_horz(union ActionData *data) { ObClient *c = data->relative.any.c; @@ -1127,14 +1080,6 @@ void action_resize_relative(union ActionData *data) client_action_end(data, FALSE); } -void action_toggle_maximize_vert(union ActionData *data) -{ - client_action_start(data); - client_maximize(data->client.any.c, - !data->client.any.c->max_vert, 2); - client_action_end(data, config_focus_under_mouse); -} - void action_send_to_desktop(union ActionData *data) { ObClient *c = data->sendto.any.c; |
