1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-20 22:40:52 +00:00
mpv/player
llyyr 4198e6f35f osc: don't add margins to osc-deadzonesize
Currently, the osc will add a margin of (osc_height / 2) to the
deadzonesize for the window controls, the topbar and the bottombar,
i.e. when osc-deadzonesize=1, the osc will show up even if the cursor
is only hovering (osc_height / 2) pixels above or below it. This is not
what this option is supposed to do according to the manual, instead
osc-deadzonesize=1 should result in the osc only appearing when it is
directly hovered. The user can simply set osc-deadzonesize=0.9 or so if
such a margin is desired, instead make the option work as advertised by
removing this margin.

It should be noted that osc-layout=box does not share this behavior,
and it already works as advertised in the manual.
2023-07-21 20:24:18 +02:00
..
javascript lua/js: remove user-data helpers 2023-01-29 01:52:31 +02:00
lua osc: don't add margins to osc-deadzonesize 2023-07-21 20:24:18 +02:00
audio.c audio: remove a duplicate clearing of a struct variable 2023-02-27 17:02:19 +00:00
client.c options: read config file as stream 2023-04-29 22:34:54 +00:00
client.h scripting: remove race condition when toggling internal scripts 2020-03-26 23:59:44 +01:00
command.c command: add sub-forced-only-cur prop 2023-06-25 11:01:58 +02:00
command.h player: make deprecated track/chapter/metadata events internal 2021-12-15 12:29:10 +01:00
configfiles.c player: delete watch_later file after successful load 2023-07-08 14:33:47 +00:00
core.h player: delete watch_later file after successful load 2023-07-08 14:33:47 +00:00
external_files.c player: don't load unwanted files after 519e56f 2023-06-07 10:17:28 +02:00
external_files.h player: add automatic loading of external cover art files 2020-09-28 00:12:52 +02:00
javascript.c various: fix warning -Wimplicit-const-int-float-conversion 2023-02-26 16:45:07 +01:00
loadfile.c loadfile: make get_audio_lang function static 2023-07-17 18:02:07 +02:00
lua.c json: unify json_parse depth to MAX_JSON_DEPTH=50 2023-07-08 11:36:15 +02:00
main.c options: read config file as stream 2023-04-29 22:34:54 +00:00
misc.c vo_wayland: fix warning -Wvoid-pointer-to-enum-cast 2023-02-26 16:45:07 +01:00
osd.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
playloop.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
screenshot.c screenshot: implement screenshot-window in sw for most VOs 2023-07-21 20:23:11 +02:00
screenshot.h player: make screenshot each-frame mode more accurate 2020-02-07 13:32:21 +01:00
scripting.c player/scripting: fix use-after-free when loading script folders 2021-04-08 23:47:35 +03:00
sub.c sub: rewrite auto-forced-only support 2023-06-25 11:01:58 +02:00
video.c various: fix typos 2023-03-28 19:29:44 +00:00