mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-01 10:18:14 +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>
(cherry picked from commit a210068c52)
This commit is contained in:
parent
4a2caa287d
commit
97915c06d1
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