mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-19 13:40:38 +02:00
dix: advance parent window pointer when no node is found
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
290af0418f
commit
a210068c52
1 changed files with 3 additions and 3 deletions
|
|
@ -3660,9 +3660,9 @@ WindowParentHasDeviceCursor(WindowPtr pWin,
|
|||
&pParentNode, &pParentPrev))
|
||||
{
|
||||
/* if there is a node in the list, the win has a dev cursor */
|
||||
if (!pParentNode->cursor) /* inherited. loop needs to cont. */
|
||||
{
|
||||
} else if (pParentNode->cursor == pCursor) /* inherit */
|
||||
if (!pParentNode->cursor) /* inherited. */
|
||||
pParent = pParent->parent;
|
||||
else if (pParentNode->cursor == pCursor) /* inherit */
|
||||
return TRUE;
|
||||
else /* different cursor */
|
||||
return FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue