Signed-off-by: Tiago Vignatti <[email protected]>
---
dix/window.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dix/window.c b/dix/window.c
index 4a47dd5..b9d5b1e 100644
--- a/dix/window.c
+++ b/dix/window.c
@@ -3658,8 +3658,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. */
+ if (!pParentNode->cursor) /* inherited. */
{
+ pParent = pParent->parent;
else if (pParentNode->cursor == pCursor) /* inherit */
return TRUE;
else /* different cursor */
--
1.7.0.4
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel