summaryrefslogtreecommitdiff
path: root/xserver/dix/devices.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2020-04-13 08:07:01 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2020-04-13 08:07:01 +0000
commit482328525369e54161ccc11c7a2ea4475aaa58fc (patch)
tree0b7b779c3aab9a33bf3ac34cbd75581bbecb9972 /xserver/dix/devices.c
parentc6893de69de1189cf7230e18ebfe8ebafb5ff2f0 (diff)
Update to xserver 1.20.8. ok jsg@ robert@
Diffstat (limited to 'xserver/dix/devices.c')
-rw-r--r--xserver/dix/devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/dix/devices.c b/xserver/dix/devices.c
index 1b18b168e..00c453980 100644
--- a/xserver/dix/devices.c
+++ b/xserver/dix/devices.c
@@ -2656,7 +2656,7 @@ GetPairedDevice(DeviceIntPtr dev)
if (!IsMaster(dev) && !IsFloating(dev))
dev = GetMaster(dev, MASTER_ATTACHED);
- return dev->spriteInfo->paired;
+ return dev->spriteInfo? dev->spriteInfo->paired: NULL;
}
/**