summaryrefslogtreecommitdiff
path: root/xserver/os
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2019-12-12 06:05:21 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2019-12-12 06:05:21 +0000
commitdff4a3473cbf3db68b2fa5b43e51f8c05ae6b029 (patch)
treeae898a699dbc977738010eaae623435d2ccee50a /xserver/os
parent005295117c63143b3bf6d69d4503b360e660cf49 (diff)
Update to X server 1.20.6. Tested by naddy@
Diffstat (limited to 'xserver/os')
-rw-r--r--xserver/os/connection.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/xserver/os/connection.c b/xserver/os/connection.c
index 3a083c01c..36e5a3ee2 100644
--- a/xserver/os/connection.c
+++ b/xserver/os/connection.c
@@ -942,6 +942,14 @@ AttendClient(ClientPtr client)
{
OsCommPtr oc = (OsCommPtr) client->osPrivate;
+ if (client->clientGone) {
+ /*
+ * client is gone, so any pending requests will be dropped and its
+ * ignore count doesn't matter.
+ */
+ return;
+ }
+
client->ignoreCount--;
if (client->ignoreCount)
return;