diff options
author | Johns <johns98@gmx.net> | 2012-10-29 17:24:58 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2012-10-29 17:24:58 +0100 |
commit | 141eb5cf713de877046a1a671cb1a6ba5f8291d3 (patch) | |
tree | 49d57d50bf78b57904e0f0f4d667934b24f995ae /video.c | |
parent | a9e664ac527eaaab33b274f7a77f3b707cb481f1 (diff) | |
download | vdr-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } } |