summaryrefslogtreecommitdiff
path: root/Xi/xichangecursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/xichangecursor.c')
-rw-r--r--Xi/xichangecursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/xichangecursor.c b/Xi/xichangecursor.c
index e72cfac03..215339331 100644
--- a/Xi/xichangecursor.c
+++ b/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;