Revert "dix: don't return BadMatch from GetProperty (#23562)"
This reverts commit f04fe06ae2
.
dixLookupWindow no longer returns BadMatch. No other caller was checking
for it, so this problem is now fixed in the utility function.
Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
ef492e9797
commit
63a8012947
|
@ -474,7 +474,7 @@ ProcGetProperty(ClientPtr client)
|
|||
}
|
||||
rc = dixLookupWindow(&pWin, stuff->window, client, win_mode);
|
||||
if (rc != Success)
|
||||
return (rc == BadMatch) ? BadWindow : rc;
|
||||
return rc;
|
||||
|
||||
if (!ValidAtom(stuff->property))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue