Correct enterleave semaphore value for root window.
This commit is contained in:
parent
8b42ba64e1
commit
11d0e2109b
|
@ -2514,7 +2514,7 @@ DefineInitialRootWindow(WindowPtr win)
|
||||||
if (DevHasCursor(pDev))
|
if (DevHasCursor(pDev))
|
||||||
{
|
{
|
||||||
InitializeSprite(pDev, win);
|
InitializeSprite(pDev, win);
|
||||||
win->devPrivates[FocusPrivatesIndex].val++;
|
((FocusSemaphoresPtr)win->devPrivates[FocusPrivatesIndex].ptr)->enterleave++;
|
||||||
}
|
}
|
||||||
pDev = pDev->next;
|
pDev = pDev->next;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue