When a user id is specified, or --root, use the ID directly, don't try find a client child of it
Dana Jansens danakj@orodu.net
1 files changed,
3 insertions(+),
2 deletions(-)
jump to
M
tools/obxprop/obxprop.c
→
tools/obxprop/obxprop.c
@@ -334,9 +334,10 @@ userid = ev.xbutton.subwindow;
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");