aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/os/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/os/connection.c')
-rw-r--r--xorg-server/os/connection.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xorg-server/os/connection.c b/xorg-server/os/connection.c
index bec7b1b23..58bc87bf1 100644
--- a/xorg-server/os/connection.c
+++ b/xorg-server/os/connection.c
@@ -1057,6 +1057,9 @@ CloseDownConnection(ClientPtr client)
{
OsCommPtr oc = (OsCommPtr)client->osPrivate;
+ if (FlushCallback)
+ CallCallbacks(&FlushCallback, NULL);
+
#ifdef DEBUG
ErrorF("CloseDownConnection: client index = %d, socket fd = %d\n",
client->index, oc->fd);