mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Flush X11 output buffer before close.
This commit is contained in:
parent
a9e664ac52
commit
141eb5cf71
2
video.c
2
video.c
@ -10598,11 +10598,13 @@ void VideoExit(void)
|
|||||||
xcb_free_pixmap(Connection, VideoCursorPixmap);
|
xcb_free_pixmap(Connection, VideoCursorPixmap);
|
||||||
VideoCursorPixmap = XCB_NONE;
|
VideoCursorPixmap = XCB_NONE;
|
||||||
}
|
}
|
||||||
|
xcb_flush(Connection);
|
||||||
if (XlibDisplay) {
|
if (XlibDisplay) {
|
||||||
if (XCloseDisplay(XlibDisplay)) {
|
if (XCloseDisplay(XlibDisplay)) {
|
||||||
Error(_("video: error closing display\n"));
|
Error(_("video: error closing display\n"));
|
||||||
}
|
}
|
||||||
XlibDisplay = NULL;
|
XlibDisplay = NULL;
|
||||||
|
Connection = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user