summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-31 14:26:31 +0200
committerAlessandro Ghedini <alessandro@ghedini.me>2014-09-01 14:48:01 +0200
commit36bdbbe716a93c2fa213ee16e86b267cd6a207f8 (patch)
tree077e64fe4a51a0589712aae0f48e36b2f7015089 /DOCS
parentc269fa1609c1bcdfb5be36ded8d963627f6ed12a (diff)
downloadmpv-36bdbbe716a93c2fa213ee16e86b267cd6a207f8.tar.bz2
mpv-36bdbbe716a93c2fa213ee16e86b267cd6a207f8.tar.xz
x11: when using --wid, inherit event flags from parent window
When embedding a X window, it's hard to control whether it receives mouse/keyboard input or not. It seems the X protocol itself makes this hard (basically due to the outdated design mismatching with modern toolkits), and we have to take care of these things explicitly. Simply do this by manually querying and using the parent window event flags. This restores some MPlayer behavior (it doesn't add back exactly the same code, but it's very similar). This probably has some potential to interfere with libmpv embedding, so bump the client API minor. CC: @mpv-player/stable (if applied, client-api-changes.rst has to be adjusted to include the 0.5.2 release)
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/client-api-changes.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/DOCS/client-api-changes.rst b/DOCS/client-api-changes.rst
index bef6759877..b689921e48 100644
--- a/DOCS/client-api-changes.rst
+++ b/DOCS/client-api-changes.rst
@@ -25,6 +25,7 @@ API changes
::
+ 1.4 - subtle change in X11 and "--wid" behavior
--- mpv 0.5.0 is released ---
1.3 - add MPV_MAKE_VERSION()
1.2 - remove "stream-time-pos" property (no replacement)