]> Dogcows Code - chaz/openbox/blobdiff - openbox/action.c
add max horz/vert actions. add toggle/on/off ability to all the maximize actions.
[chaz/openbox] / openbox / action.c
index dca4ede4b62646416abeb6a5d43f4c91b3b22765..1bc85db218732aca7a3592258e4c209de90172ab 100644 (file)
@@ -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;
This page took 0.025564 seconds and 4 git commands to generate.