]> Dogcows Code - chaz/openbox/commitdiff
don't use action_run_string in action.c, pass along the data so that the second actio...
authorDana Jansens <danakj@orodu.net>
Mon, 22 Dec 2003 17:38:05 +0000 (17:38 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 22 Dec 2003 17:38:05 +0000 (17:38 +0000)
openbox/action.c

index 17d951cfe83dffcd29dbf21701c5e6c115fe3a3a..8eccb6b1416cae086914ac53157d9c6a3dab4fa0 100644 (file)
@@ -1041,7 +1041,10 @@ void action_raiselower(union ActionData *data)
         }
     }
 
-    action_run_string((raise ? "Raise" : "Lower"), c);
+    if (raise)
+        action_raise(data);
+    else
+        action_lower(data);
 }
 
 void action_raise(union ActionData *data)
@@ -1054,17 +1057,17 @@ void action_raise(union ActionData *data)
 void action_unshaderaise(union ActionData *data)
 {
     if (data->client.any.c->shaded)
-        action_run_string("Unshade", data->client.any.c);
+        action_unshade(data);
     else
-        action_run_string("Raise", data->client.any.c);
+        action_raise(data);
 }
 
 void action_shadelower(union ActionData *data)
 {
     if (data->client.any.c->shaded)
-        action_run_string("Lower", data->client.any.c);
+        action_lower(data);
     else
-        action_run_string("Shade", data->client.any.c);
+        action_shade(data);
 }
 
 void action_lower(union ActionData *data)
This page took 0.031304 seconds and 4 git commands to generate.