diff options
author | wm4 <wm4@mplayer2.org> | 2012-02-24 09:39:00 +0100 |
---|---|---|
committer | wm4 <wm4@mplayer2.org> | 2012-02-24 09:39:00 +0100 |
commit | f684d12db1f547f4845dcee717359c4d6d5eed78 (patch) | |
tree | 708feb3e097cf3538c598651c3eb65af9924cd5c /libvo | |
parent | 9371753dc475b4a541875c8cae16f0cbceddcd50 (diff) | |
download | mpv-f684d12db1f547f4845dcee717359c4d6d5eed78.tar.bz2 mpv-f684d12db1f547f4845dcee717359c4d6d5eed78.tar.xz |
x11: fix crash when using switch_video (broken by UTF-8 input changes)
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/x11_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c index 75d5db90dd..7796d626db 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -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); |