summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2017-10-05 16:17:05 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2017-10-05 16:23:15 +0100
commit8d8d4c5cb1b3553215a8ba547d4db463fdc88831 (patch)
tree9ca7f346c658c9ddea158470cb31967532a0af03 /DOCS/man
parentbee6ca5225e915f64ee36aaea1f66ada20f18e4c (diff)
downloadmpv-8d8d4c5cb1b3553215a8ba547d4db463fdc88831.tar.bz2
mpv-8d8d4c5cb1b3553215a8ba547d4db463fdc88831.tar.xz
wayland_common: add support for embedding
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/options.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 8b1bc8c3d8..baf998d074 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -2471,6 +2471,10 @@ Window
window fully. The value ``0`` is interpreted specially, and mpv will
draw directly on the root window.
+ On wayland, the ID is interpreted as ``struct zxdg_toplevel_v6 *``. Pass it
+ as value cast to ``intptr_t``. mpv will create its own window, and set the
+ wid toplevel as its parent.
+
On win32, the ID is interpreted as ``HWND``. Pass it as value cast to
``intptr_t``. mpv will create its own window, and set the wid window as
parent, like with X11.