summaryrefslogtreecommitdiff
path: root/openbox/actions/execute.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-03-01 01:30:29 -0500
committerDana Jansens <danakj@orodu.net>2008-03-01 01:30:29 -0500
commit93a38d46bfec781ff9783c0d5ff065f7b2f2b875 (patch)
tree79dd3d9c0c2ddbbaa3ade28d1f611176ea574b56 /openbox/actions/execute.c
parent435df32acc55a3bc4cc8f9ba954ae21b65c7c69d (diff)
make it $pid and $wid, it's a little faster this way and they look the same so why not
Diffstat (limited to 'openbox/actions/execute.c')
-rw-r--r--openbox/actions/execute.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/openbox/actions/execute.c b/openbox/actions/execute.c
index 6f4e4b17..81aa6d22 100644
--- a/openbox/actions/execute.c
+++ b/openbox/actions/execute.c
@@ -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 */