mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 17:16:51 +00:00
Flush X11 output buffer before close.
This commit is contained in:
2
video.c
2
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user