]> Dogcows Code - chaz/openbox/commitdiff
make it $pid and $wid, it's a little faster this way and they look the same so why not
authorDana Jansens <danakj@orodu.net>
Sat, 1 Mar 2008 06:30:29 +0000 (01:30 -0500)
committerDana Jansens <danakj@orodu.net>
Sat, 1 Mar 2008 06:30:29 +0000 (01:30 -0500)
openbox/actions/execute.c

index 6f4e4b179ab5bcdefeeaf45638d5929ad18be821..81aa6d22b881d0b795de19e186aba0e958388348 100644 (file)
@@ -166,10 +166,7 @@ static gboolean run_func(ObActionsData *data, gpointer options)
 
             if ((c[1] == 'w' || c[1] == 'W') &&
                 (c[2] == 'i' || c[2] == 'I') &&
-                (c[3] == 'n' || c[3] == 'N') &&
-                (c[4] == 'd' || c[4] == 'D') &&
-                (c[5] == 'o' || c[5] == 'O') &&
-                (c[6] == 'w' || c[6] == 'W') &&
+                (c[3] == 'd' || c[3] == 'D') &&
                 !g_ascii_isalnum(c[7]))
             {
                 /* found $window */
This page took 0.021929 seconds and 4 git commands to generate.