diff options
author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2021-05-27 12:07:28 +0300 |
---|---|---|
committer | avih <avih@users.noreply.github.com> | 2021-05-27 13:49:07 +0300 |
commit | 89684976acdfae7fdcec9a1b1819ab7f19012332 (patch) | |
tree | ac869ccb63e6cfdbdf78290441ff4dc7158c8d2b /DOCS/man/input.rst | |
parent | 6abb7e385f8f2f22511da13fe506a2cbdf7f5584 (diff) | |
download | mpv-89684976acdfae7fdcec9a1b1819ab7f19012332.tar.bz2 mpv-89684976acdfae7fdcec9a1b1819ab7f19012332.tar.xz |
win32: support the property 'focused'
And also change the existing WM_KILLFOCUS handler to return 0 instead
of 'break' (which later calls DefWindowProcW), as MSDN says we should
do for WM_{KILL,SET}FOCUS.
It seems that the 'focused' property is now supported by all main VOs:
x11, macOS, wayland, Windows.
TCT/sixel/caca probably don't support it, and unknown with SDL.
Fixes #8868
Diffstat (limited to 'DOCS/man/input.rst')
-rw-r--r-- | DOCS/man/input.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 63021280be..8a5601f207 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -2502,8 +2502,7 @@ Property list ways. The property is unavailable if no video is active. ``focused`` - Whether the window has focus. Currently works only on X11, Wayland and - macOS. + Whether the window has focus. Might not be supported by all VOs. ``display-names`` Names of the displays that the mpv window covers. On X11, these |