make it $pid and $wid, it's a little faster this way and they look the same so why not
This commit is contained in:
parent
435df32acc
commit
93a38d46bf
1 changed files with 1 additions and 4 deletions
|
@ -166,10 +166,7 @@ static gboolean run_func(ObActionsData *data, gpointer options)
|
||||||
|
|
||||||
if ((c[1] == 'w' || c[1] == 'W') &&
|
if ((c[1] == 'w' || c[1] == 'W') &&
|
||||||
(c[2] == 'i' || c[2] == 'I') &&
|
(c[2] == 'i' || c[2] == 'I') &&
|
||||||
(c[3] == 'n' || c[3] == 'N') &&
|
(c[3] == 'd' || c[3] == 'D') &&
|
||||||
(c[4] == 'd' || c[4] == 'D') &&
|
|
||||||
(c[5] == 'o' || c[5] == 'O') &&
|
|
||||||
(c[6] == 'w' || c[6] == 'W') &&
|
|
||||||
!g_ascii_isalnum(c[7]))
|
!g_ascii_isalnum(c[7]))
|
||||||
{
|
{
|
||||||
/* found $window */
|
/* found $window */
|
||||||
|
|
Loading…
Reference in a new issue