projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91af4d5
)
When a user id is specified, or --root, use the ID directly, don't try find a client...
author
Dana Jansens
<danakj@orodu.net>
Mon, 11 Jan 2010 18:43:25 +0000
(13:43 -0500)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 11 Jan 2010 18:43:25 +0000
(13:43 -0500)
tools/obxprop/obxprop.c
patch
|
blob
|
history
diff --git
a/tools/obxprop/obxprop.c
b/tools/obxprop/obxprop.c
index
2e6b2a0
..
44b3304
100644
(file)
--- a/
tools/obxprop/obxprop.c
+++ b/
tools/obxprop/obxprop.c
@@
-334,9
+334,10
@@
int main(int argc, char **argv)
break;
}
}
+ id = find_client(d, userid);
}
-
- id = find_client(d, userid);
+ else
+ id = userid; /* they picked this one */
if (id == None)
return fail("Unable to find window with the requested ID");