From f684d12db1f547f4845dcee717359c4d6d5eed78 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 24 Feb 2012 09:39:00 +0100 Subject: x11: fix crash when using switch_video (broken by UTF-8 input changes) --- libvo/x11_common.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3