summaryrefslogtreecommitdiffstats
path: root/demux/demux_mkv.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-02-24 23:35:13 +0100
committerwm4 <wm4@nowhere>2013-02-26 02:01:48 +0100
commitb23dce6d7cd66c11a770ce921659f7a19c804cf7 (patch)
tree4ced28a5a0bab84851c30a29641c96d78d78a5da /demux/demux_mkv.c
parent423c0b13c4ffaf8ba619a4412b90a4b94fccce3c (diff)
downloadmpv-b23dce6d7cd66c11a770ce921659f7a19c804cf7.tar.bz2
mpv-b23dce6d7cd66c11a770ce921659f7a19c804cf7.tar.xz
x11_common: always create a window, even with --wid
The --wid switch (for embedding the player into other applications) didn't create a new window, and instead tried to use the window that was passed via --wid directly. This made the code more complex, caused strange X errors (mpv and host application fighting for exclusive X resources), and actually could cause issues if the --wid window wasn't created with the X Visual needed for OpenGL. Always create a window instead. This makes it always possible to embed the player into foreign windows. --geometry doesn't work anymore - the controlling application should always create a new window to place the player inside it, and can control the video window by moving and resizing this window. w32_common.c actually did this right, and always creates a new window.
Diffstat (limited to 'demux/demux_mkv.c')
0 files changed, 0 insertions, 0 deletions