summaryrefslogtreecommitdiff
path: root/xserver/dix/events.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2019-07-27 07:57:27 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2019-07-27 07:57:27 +0000
commitd4a0bed4b91da9de86c311c7fef9a8aa9a6f500c (patch)
treea1b439049dee87bc951e190db93f5bbe8b43b0b5 /xserver/dix/events.c
parentb6bc775539a31f663f9e22ce3ccaf0aa96adf3b6 (diff)
Update to xserver 1.20.5. Tested by jsg@
Diffstat (limited to 'xserver/dix/events.c')
-rw-r--r--xserver/dix/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/dix/events.c b/xserver/dix/events.c
index 3faad53a8..d3a33ea3f 100644
--- a/xserver/dix/events.c
+++ b/xserver/dix/events.c
@@ -3575,7 +3575,7 @@ ProcWarpPointer(ClientPtr client)
winX + stuff->srcX + (int) stuff->srcWidth < x) ||
(stuff->srcHeight != 0 &&
winY + stuff->srcY + (int) stuff->srcHeight < y) ||
- !PointInWindowIsVisible(source, x, y))
+ (source->parent && !PointInWindowIsVisible(source, x, y)))
return Success;
}
if (dest) {