XCB window: no need to unmap & destroy our window
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 15 Aug 2009 16:34:49 +0000 (19:34 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 15 Aug 2009 16:34:49 +0000 (19:34 +0300)
X does it automatically when the connection is closed

modules/video_output/xcb/window.c

index 3ccd063..92d04f6 100644 (file)
@@ -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);
 }