summaryrefslogtreecommitdiff
path: root/video.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-10-29 17:24:58 +0100
committerJohns <johns98@gmx.net>2012-10-29 17:24:58 +0100
commit141eb5cf713de877046a1a671cb1a6ba5f8291d3 (patch)
tree49d57d50bf78b57904e0f0f4d667934b24f995ae /video.c
parenta9e664ac527eaaab33b274f7a77f3b707cb481f1 (diff)
downloadvdr-plugin-softhddevice-141eb5cf713de877046a1a671cb1a6ba5f8291d3.tar.gz
vdr-plugin-softhddevice-141eb5cf713de877046a1a671cb1a6ba5f8291d3.tar.bz2
Flush X11 output buffer before close.
Diffstat (limited to 'video.c')
-rw-r--r--video.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/video.c b/video.c
index 55808af..0741e7f 100644
--- a/video.c
+++ b/video.c
@@ -10598,11 +10598,13 @@ void VideoExit(void)
xcb_free_pixmap(Connection, VideoCursorPixmap);
VideoCursorPixmap = XCB_NONE;
}
+ xcb_flush(Connection);
if (XlibDisplay) {
if (XCloseDisplay(XlibDisplay)) {
Error(_("video: error closing display\n"));
}
XlibDisplay = NULL;
+ Connection = 0;
}
}