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

Room for window provider to pass the X11 display

parent 3b4b253f
......@@ -92,6 +92,11 @@ struct vout_window_t {
uint32_t xid; /* X11 windows ID */
};
/* display server (mandatory) */
union {
char *x11_display; /* X11 display (NULL = use default) */
};
/* Control on the module (mandatory)
*
* Do not use it directly; use vout_window_Control instead.
......
......@@ -66,6 +66,7 @@ vout_window_t *vout_window_New(vlc_object_t *obj,
case VOUT_WINDOW_TYPE_XID:
type = "vout window xid";
window->xid = 0;
window->x11_display = NULL;
break;
default:
assert(0);
......
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