]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions/execute.c
Merge branch 'backport' into work
[chaz/openbox] / openbox / actions / execute.c
index 376eee5337ab4f48d824405156c5e27a14ab2ce9..bde7f5d25a24ff4dc66dbd154fa160580646597e 100644 (file)
@@ -33,7 +33,7 @@ static void     i_cancel_func(gpointer options);
 
 void action_execute_startup(void)
 {
-    actions_register("Execute", setup_func, free_func, run_func, NULL, NULL);
+    actions_register("Execute", setup_func, free_func, run_func);
 }
 
 static gpointer setup_func(xmlNodePtr node)
@@ -169,9 +169,9 @@ static gboolean run_func(ObActionsData *data, gpointer options)
                 before = c + 4; /* 4 = strlen("$pid") */
             }
             else if ((c[1] == 'w' || c[1] == 'W') &&
-                (c[2] == 'i' || c[2] == 'I') &&
-                (c[3] == 'd' || c[3] == 'D') &&
-                !g_ascii_isalnum(c[4]))
+                     (c[2] == 'i' || c[2] == 'I') &&
+                     (c[3] == 'd' || c[3] == 'D') &&
+                     !g_ascii_isalnum(c[4]))
             {
                 /* found $wid */
                 gchar *tmp;
This page took 0.021618 seconds and 4 git commands to generate.