1
mirror of https://github.com/mpv-player/mpv synced 2024-10-02 16:25:33 +02:00

x11: fix crash when using switch_video (broken by UTF-8 input changes)

This commit is contained in:
wm4 2012-02-24 09:39:00 +01:00
parent 9371753dc4
commit f684d12db1

View File

@ -742,6 +742,7 @@ void vo_x11_uninit(struct vo *vo)
if (x11->xic)
XDestroyIC(x11->xic);
x11->xic = NULL;
XUnmapWindow(x11->display, x11->window);
XSelectInput(x11->display, x11->window, StructureNotifyMask);