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:
parent
9371753dc4
commit
f684d12db1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user