diff options
Diffstat (limited to 'dix')
-rw-r--r-- | dix/window.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dix/window.c b/dix/window.c index 9663578f7..caff1cbff 100644 --- a/dix/window.c +++ b/dix/window.c @@ -3541,7 +3541,7 @@ ChangeWindowDeviceCursor(WindowPtr pWin, pWin->optional->deviceCursors = pNode->next; xfree(pNode); - return Success; + goto out; } } else @@ -3586,6 +3586,7 @@ ChangeWindowDeviceCursor(WindowPtr pWin, } } +out: if (pWin->realized) WindowHasNewCursor(pWin); |