[vlc-devel] commit: XCB window: no need to unmap & destroy our window ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Aug 15 18:35:18 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Aug 15 19:34:49 2009 +0300| [71f36d43987ea4b86fb71c8b785ea93c18924ce0] | committer: Rémi Denis-Courmont 

XCB window: no need to unmap & destroy our window

X does it automatically when the connection is closed

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=71f36d43987ea4b86fb71c8b785ea93c18924ce0
---

 modules/video_output/xcb/window.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/modules/video_output/xcb/window.c b/modules/video_output/xcb/window.c
index 3ccd063..92d04f6 100644
--- a/modules/video_output/xcb/window.c
+++ b/modules/video_output/xcb/window.c
@@ -290,8 +290,6 @@ static void Close (vlc_object_t *obj)
         vlc_join (p_sys->thread, NULL);
         DestroyKeyHandler (p_sys->keys);
     }
-    xcb_unmap_window (conn, window);
-    xcb_destroy_window (conn, window);
     xcb_disconnect (conn);
     free (p_sys);
 }




More information about the vlc-devel mailing list