diff options
author | wm4 <wm4@nowhere> | 2013-02-24 23:35:13 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-02-26 02:01:48 +0100 |
commit | b23dce6d7cd66c11a770ce921659f7a19c804cf7 (patch) | |
tree | 4ced28a5a0bab84851c30a29641c96d78d78a5da /DOCS/OUTDATED-tech/libvo.txt | |
parent | 423c0b13c4ffaf8ba619a4412b90a4b94fccce3c (diff) | |
download | mpv-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 'DOCS/OUTDATED-tech/libvo.txt')
0 files changed, 0 insertions, 0 deletions