DOCS: mention restore-osc-bindings.conf

This commit is contained in:
nanahi 2024-10-22 17:20:02 -04:00 committed by Kacper Michajłow
parent e21e1c3180
commit 4c93447dbb
3 changed files with 10 additions and 1 deletions

View File

@ -126,7 +126,7 @@ CLI
Things such as default key bindings do not necessarily require compatibility. Things such as default key bindings do not necessarily require compatibility.
However, the release notes should be extremely clear on changes to "important" However, the release notes should be extremely clear on changes to "important"
key bindings. Bindings which restore the old behavior should be added to key bindings. Bindings which restore the old behavior should be added to
restore-old-bindings.conf. restore-old-bindings.conf and restore-osc-bindings.conf.
Some option parsing is CLI-only and not available from libmpv or scripting. No Some option parsing is CLI-only and not available from libmpv or scripting. No
compatibility guarantees come with them. However, the rules which mpv uses to compatibility guarantees come with them. However, the rules which mpv uses to

View File

@ -124,6 +124,11 @@ fs
right-click toggle whether the window is maximized right-click toggle whether the window is maximized
============= ================================================ ============= ================================================
Since mpv 0.40.0, it is possible to configure the commands to run with mouse
actions on some interface elements, and the default behaviors of several
elements were changed. If you miss some older behaviors, look at
``etc/restore-osc-bindings.conf`` in the mpv git repository.
Key Bindings Key Bindings
~~~~~~~~~~~~ ~~~~~~~~~~~~

View File

@ -76,6 +76,9 @@ on every release.
Changes to the default key bindings are indicated in Changes to the default key bindings are indicated in
[restore-old-bindings.conf][restore-old-bindings]. [restore-old-bindings.conf][restore-old-bindings].
Changes to the default OSC bindings are indicated in
[restore-osc-bindings.conf][restore-osc-bindings].
## Compilation ## Compilation
@ -214,4 +217,5 @@ Most activity happens on the IRC channel and the GitHub issue tracker.
[interface-changes]: https://github.com/mpv-player/mpv/blob/master/DOCS/interface-changes.rst [interface-changes]: https://github.com/mpv-player/mpv/blob/master/DOCS/interface-changes.rst
[api-changes]: https://github.com/mpv-player/mpv/blob/master/DOCS/client-api-changes.rst [api-changes]: https://github.com/mpv-player/mpv/blob/master/DOCS/client-api-changes.rst
[restore-old-bindings]: https://github.com/mpv-player/mpv/blob/master/etc/restore-old-bindings.conf [restore-old-bindings]: https://github.com/mpv-player/mpv/blob/master/etc/restore-old-bindings.conf
[restore-osc-bindings]: https://github.com/mpv-player/mpv/blob/master/etc/restore-osc-bindings.conf
[contribute.md]: https://github.com/mpv-player/mpv/blob/master/DOCS/contribute.md [contribute.md]: https://github.com/mpv-player/mpv/blob/master/DOCS/contribute.md