x11: remove unnecessary code

This commit is contained in:
wm4 2015-01-23 12:46:36 +01:00
parent a96c3ac90e
commit 60dbf192d1
1 changed files with 0 additions and 3 deletions

View File

@ -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)