Commit 71f36d43 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

XCB window: no need to unmap & destroy our window

X does it automatically when the connection is closed
parent 5e0696af
...@@ -290,8 +290,6 @@ static void Close (vlc_object_t *obj) ...@@ -290,8 +290,6 @@ static void Close (vlc_object_t *obj)
vlc_join (p_sys->thread, NULL); vlc_join (p_sys->thread, NULL);
DestroyKeyHandler (p_sys->keys); DestroyKeyHandler (p_sys->keys);
} }
xcb_unmap_window (conn, window);
xcb_destroy_window (conn, window);
xcb_disconnect (conn); xcb_disconnect (conn);
free (p_sys); free (p_sys);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment