mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-28 02:21:08 +00:00
[PR #3565] composite: Fix PanoramiX overlay window release
PanoramiX overlay resources contain physical window IDs for each screen. Look them up as regular window resources when releasing the client's overlay reference. Signed-off-by: Xinhao Liu <liuxinhao@kylinsec.com.cn> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2259> PR: https://github.com/X11Libre/xserver/pull/3565
This commit is contained in:
parent
8304192c3c
commit
cae425c02b
1 changed files with 2 additions and 2 deletions
|
|
@ -774,8 +774,8 @@ ProcCompositeReleaseOverlayWindow(ClientPtr client)
|
||||||
|
|
||||||
XINERAMA_FOR_EACH_SCREEN_BACKWARD({
|
XINERAMA_FOR_EACH_SCREEN_BACKWARD({
|
||||||
if ((rc = dixLookupResourceByType((void **) &pWin, win->info[walkScreenIdx].id,
|
if ((rc = dixLookupResourceByType((void **) &pWin, win->info[walkScreenIdx].id,
|
||||||
XRT_WINDOW, client,
|
X11_RESTYPE_WINDOW, client,
|
||||||
DixUnknownAccess))) {
|
DixGetAttrAccess))) {
|
||||||
client->errorValue = stuff->window;
|
client->errorValue = stuff->window;
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue