dix: add dixAllocServerXID()

Adding a separate function for allocating server-client's XIDs.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-03-12 15:43:10 +01:00
parent 4919a089df
commit e6467895f9
26 changed files with 49 additions and 31 deletions

View File

@@ -323,7 +323,7 @@ compScreenInit(ScreenPtr pScreen)
if (!cs)
return FALSE;
cs->overlayWid = FakeClientID(0);
cs->overlayWid = dixAllocServerXID();
cs->pOverlayWin = NULL;
cs->pOverlayClients = NULL;