mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 10:02:17 +00:00
b23dce6d7c
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. |
||
---|---|---|
.. | ||
man/en | ||
OUTDATED-tech | ||
crosscompile-mingw.txt | ||
edl.rst | ||
encoding.rst | ||
tech-overview.txt |