@@ -4505,8 +4505,9 @@ <h2>Window</h2>
4505
4505
window fully. The value <tt class="docutils literal">0</tt> is interpreted specially, and mpv will
4506
4506
draw directly on the root window.</p>
4507
4507
<p>On win32, the ID is interpreted as <tt class="docutils literal">HWND</tt>. Pass it as value cast to
4508
- <tt class="docutils literal">intptr_t</tt>. mpv will create its own window, and set the wid window as
4509
- parent, like with X11.</p>
4508
+ <tt class="docutils literal">uint32_t</tt> (all Windows handles are 32-bit), this is important as mpv will
4509
+ not accept negative values. mpv will create its own window and set the
4510
+ wid window as parent, like with X11.</p>
4510
4511
<p>On macOS/Cocoa, the ID is interpreted as <tt class="docutils literal">NSView*</tt>. Pass it as value cast
4511
4512
to <tt class="docutils literal">intptr_t</tt>. mpv will create its own sub-view. Because macOS does not
4512
4513
support window embedding of foreign processes, this works only with libmpv,
0 commit comments