0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/player
Guido Cella 28b21e4ab7 console.lua: hide the cursor when unfocused
This is commonly done to understand whether a window is focused. This
explicitly checks if focused is false instead of unavailable to not
break the cursor where focused is unimplemented like on --vo=drm.

The cursor is taller than the input text so it is made transparent
instead of completely removing it so that the log doesn't move up and
down while toggling focus. Alternatively, cheight = opts.font_size * 8
can be changed to 7.
2024-01-01 14:24:00 +01:00
..
javascript player: remove shared-script-properties property 2023-11-22 16:29:43 +00:00
lua console.lua: hide the cursor when unfocused 2024-01-01 14:24:00 +01:00
audio.c player/audio: fix incorrect check on adding delay 2023-10-26 22:59:09 -05:00
client.c mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
client.h scripting: remove race condition when toggling internal scripts 2020-03-26 23:59:44 +01:00
command.c msg: keep status line on the end of file 2023-12-27 20:59:22 +00:00
command.h various: add missing include in header flles 2023-09-21 14:40:11 +00:00
configfiles.c options: rename --watch-later-directory to --watch-later-dir 2023-10-25 16:16:37 +00:00
core.h ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
external_files.c external_files: remove duplicate from cover art whitelist 2023-10-04 15:31:38 +00:00
external_files.h player: make all autoload extensions configurable 2023-08-26 00:33:00 +00:00
javascript.c scripting: rename backend names for concise naming 2023-10-27 23:18:56 +00:00
loadfile.c various: add some missing error checks 2023-11-18 23:55:28 +00:00
lua.c lua: don't return a second value from successful format_json 2023-12-17 18:38:33 +01:00
main.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
meson.build meson: generate .com in the same place as the .exe if possible 2023-11-27 18:42:19 +00:00
misc.c player: refactor secondary subtitle options and properties 2023-12-16 15:25:32 +00:00
osd.c player: refactor secondary subtitle options and properties 2023-12-16 15:25:32 +00:00
playloop.c playloop: use a 16:9 ratio with --force-window 2023-11-30 15:08:56 +00:00
screenshot.c screenshot: remove artificial limit on the number of screenshots taken 2023-12-28 15:45:08 +00:00
screenshot.h player: make screenshot each-frame mode more accurate 2020-02-07 13:32:21 +01:00
scripting.c mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
sub.c options: add --secondary-sub-pos 2023-12-13 21:18:57 +00:00
video.c vo: pass approximate frame duration in vo_frame 2023-11-18 22:54:29 +00:00