From 60dbf192d1c83b60ae3787bf52c671c050db38f8 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 23 Jan 2015 12:46:36 +0100 Subject: [PATCH] x11: remove unnecessary code --- video/out/x11_common.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/video/out/x11_common.c b/video/out/x11_common.c index a205b81aaf..4f602c802d 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -671,10 +671,7 @@ void vo_x11_uninit(struct vo *vo) if (x11->vo_gc != None) XFreeGC(vo->x11->display, x11->vo_gc); if (x11->window != None && x11->window != x11->rootwin) { - XClearWindow(x11->display, x11->window); XUnmapWindow(x11->display, x11->window); - - XSelectInput(x11->display, x11->window, StructureNotifyMask); XDestroyWindow(x11->display, x11->window); } if (x11->xic)