When a user id is specified, or --root, use the ID directly, don't try find a client child of it
This commit is contained in:
parent
91af4d5bc9
commit
358056b102
1 changed files with 3 additions and 2 deletions
|
@ -334,9 +334,10 @@ int main(int argc, char **argv)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
id = find_client(d, userid);
|
id = find_client(d, userid);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
id = userid; /* they picked this one */
|
||||||
|
|
||||||
if (id == None)
|
if (id == None)
|
||||||
return fail("Unable to find window with the requested ID");
|
return fail("Unable to find window with the requested ID");
|
||||||
|
|
Loading…
Reference in a new issue