diff options
author | wm4 <wm4@nowhere> | 2015-01-23 12:46:36 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-23 12:46:36 +0100 |
commit | 60dbf192d1c83b60ae3787bf52c671c050db38f8 (patch) | |
tree | fcd1bdacef54b6abb6e6b9698088cb46fa1a8e4f /video/out/x11_common.c | |
parent | a96c3ac90e73c51ace0ee7a65439c71327057df1 (diff) | |
download | mpv-60dbf192d1c83b60ae3787bf52c671c050db38f8.tar.bz2 mpv-60dbf192d1c83b60ae3787bf52c671c050db38f8.tar.xz |
x11: remove unnecessary code
Diffstat (limited to 'video/out/x11_common.c')
-rw-r--r-- | video/out/x11_common.c | 3 |
1 files changed, 0 insertions, 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) |