diff options
Diffstat (limited to 'openbox/action.c')
| -rw-r--r-- | openbox/action.c | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/openbox/action.c b/openbox/action.c index 2288dcb9..cdf48df3 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -416,16 +416,6 @@ void setup_action_bottom_layer(ObAction **a, ObUserAction uact) (*a)->data.layer.layer = -1; } -void setup_action_move(ObAction **a, ObUserAction uact) -{ - (*a)->data.moveresize.any.client_action = OB_CLIENT_ACTION_ALWAYS; - (*a)->data.moveresize.keyboard = - (uact == OB_USER_ACTION_NONE || - uact == OB_USER_ACTION_KEYBOARD_KEY || - uact == OB_USER_ACTION_MENU_SELECTION); - (*a)->data.moveresize.corner = 0; -} - void setup_action_resize(ObAction **a, ObUserAction uact) { (*a)->data.moveresize.any.client_action = OB_CLIENT_ACTION_ALWAYS; @@ -499,11 +489,6 @@ ActionString actionstrings[] = setup_client_action }, { - "iconify", - action_iconify, - setup_client_action - }, - { "focustobottom", action_focus_order_to_bottom, setup_client_action @@ -524,11 +509,6 @@ ActionString actionstrings[] = setup_client_action }, { - "close", - action_close, - setup_client_action - }, - { "kill", action_kill, setup_client_action @@ -724,11 +704,6 @@ ActionString actionstrings[] = setup_client_action }, { - "move", - action_move, - setup_action_move - }, - { "resize", action_resize, setup_action_resize @@ -1152,11 +1127,6 @@ void action_lower(union ActionData *data) client_action_end(data, config_focus_under_mouse); } -void action_close(union ActionData *data) -{ - client_close(data->client.any.c); -} - void action_kill(union ActionData *data) { client_kill(data->client.any.c); @@ -1545,19 +1515,6 @@ static guint32 pick_corner(gint x, gint y, gint cx, gint cy, gint cw, gint ch, #undef d } -void action_move(union ActionData *data) -{ - ObClient *c = data->moveresize.any.c; - guint32 corner; - - if (data->moveresize.keyboard) - corner = prop_atoms.net_wm_moveresize_move_keyboard; - else - corner = prop_atoms.net_wm_moveresize_move; - - moveresize_start(c, data->any.x, data->any.y, data->any.button, corner); -} - void action_resize(union ActionData *data) { ObClient *c = data->moveresize.any.c; |
