diff --git a/dix/events.c b/dix/events.c index 2872bf850..0ce07d5df 100644 --- a/dix/events.c +++ b/dix/events.c @@ -1481,6 +1481,8 @@ ScreenRestructured (ScreenPtr pScreen) for (pDev = inputInfo.devices; pDev; pDev = pDev->next) { + if (!DevHasCursor(pDev)) + continue; /* GrabDevice doesn't have a confineTo field, so we don't need to * worry about it. */