aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/Xi/xichangecursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/Xi/xichangecursor.c')
-rw-r--r--xorg-server/Xi/xichangecursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/Xi/xichangecursor.c b/xorg-server/Xi/xichangecursor.c
index 825f8227a..2d58fa529 100644
--- a/xorg-server/Xi/xichangecursor.c
+++ b/xorg-server/Xi/xichangecursor.c
@@ -93,7 +93,7 @@ int ProcXIChangeCursor(ClientPtr client)
if (stuff->cursor == None)
{
- if (pWin == WindowTable[pWin->drawable.pScreen->myNum])
+ if (pWin == pWin->drawable.pScreen->root)
pCursor = rootCursor;
else
pCursor = (CursorPtr)None;