mirror of
https://github.com/videolan/vlc.git
synced 2024-12-13 03:33:54 +08:00
Room for window provider to pass the X11 display
This commit is contained in:
parent
3b4b253f83
commit
9387010346
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user