From: Dana Jansens Date: Mon, 11 Jan 2010 18:43:25 +0000 (-0500) Subject: When a user id is specified, or --root, use the ID directly, don't try find a client... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=358056b102f633cb63ac7b9aa0cfdd25af77ddf3;p=chaz%2Fopenbox When a user id is specified, or --root, use the ID directly, don't try find a client child of it --- diff --git a/tools/obxprop/obxprop.c b/tools/obxprop/obxprop.c index 2e6b2a03..44b33041 100644 --- 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");