vout_window_t *XCB_parent_Create (vout_display_t *vd,
xcb_connection_t **restrict pconn,
const xcb_screen_t **restrict pscreen,
- uint8_t *restrict pdepth,
uint16_t *restrict pwidth,
uint16_t *restrict pheight)
{
msg_Err (vd, "window not valid");
goto error;
}
- *pdepth = geo->depth;
*pwidth = geo->width;
*pheight = geo->height;
xcb_connection_t *conn;
const xcb_screen_t *scr;
uint16_t width, height;
- uint8_t depth;
- sys->embed = XCB_parent_Create (vd, &conn, &scr, &depth, &width, &height);
+ sys->embed = XCB_parent_Create (vd, &conn, &scr, &width, &height);
if (sys->embed == NULL)
{
free (sys);
xcb_connection_t *conn;
const xcb_screen_t *scr;
uint16_t width, height;
- sys->embed = XCB_parent_Create (vd, &conn, &scr,
- &(uint8_t){ 0 }, &width, &height);
+ sys->embed = XCB_parent_Create (vd, &conn, &scr, &width, &height);
if (sys->embed == NULL)
{
free (sys);
struct vout_window_t *XCB_parent_Create (vout_display_t *obj,
xcb_connection_t **,
- const xcb_screen_t **, uint8_t *depth,
+ const xcb_screen_t **,
uint16_t *width, uint16_t *height);
xcb_cursor_t XCB_cursor_Create (xcb_connection_t *, const xcb_screen_t *);
xcb_connection_t *conn;
const xcb_screen_t *screen;
uint16_t width, height;
- uint8_t depth;
- p_sys->embed = XCB_parent_Create (vd, &conn, &screen,
- &depth, &width, &height);
+ p_sys->embed = XCB_parent_Create (vd, &conn, &screen, &width, &height);
if (p_sys->embed == NULL)
{
free (p_sys);