Room for window provider to pass the X11 display

This commit is contained in:
Rémi Denis-Courmont 2009-12-07 23:59:16 +02:00
parent 3b4b253f83
commit 9387010346
2 changed files with 6 additions and 0 deletions

View File

@ -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.

View File

@ -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);