mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-23 11:58:09 +02:00
pseudoramiX: add missing byte swapping in various fields
Co-Authored-by: Claude Code <noreply@anthropic.com> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2181>
This commit is contained in:
parent
a5ac3c8712
commit
6c51a0f905
1 changed files with 4 additions and 0 deletions
|
|
@ -420,6 +420,7 @@ SProcPseudoramiXGetState(ClientPtr client)
|
|||
TRACE;
|
||||
|
||||
REQUEST_SIZE_MATCH(xPanoramiXGetStateReq);
|
||||
swapl(&stuff->window);
|
||||
return ProcPseudoramiXGetState(client);
|
||||
}
|
||||
|
||||
|
|
@ -431,6 +432,7 @@ SProcPseudoramiXGetScreenCount(ClientPtr client)
|
|||
TRACE;
|
||||
|
||||
REQUEST_SIZE_MATCH(xPanoramiXGetScreenCountReq);
|
||||
swapl(&stuff->window);
|
||||
return ProcPseudoramiXGetScreenCount(client);
|
||||
}
|
||||
|
||||
|
|
@ -442,6 +444,8 @@ SProcPseudoramiXGetScreenSize(ClientPtr client)
|
|||
TRACE;
|
||||
|
||||
REQUEST_SIZE_MATCH(xPanoramiXGetScreenSizeReq);
|
||||
swapl(&stuff->window);
|
||||
swapl(&stuff->screen);
|
||||
return ProcPseudoramiXGetScreenSize(client);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue