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

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)
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);
}
......
Supports Markdown
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