mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 11:08:15 +02:00
dix: don't try to confine cursor on screen restructure if there is no cursor.
Stops segfaulting when using xrandr. Yay.
This commit is contained in:
parent
57a491e6d3
commit
20ace6321a
1 changed files with 2 additions and 0 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue