0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/player
Philip Langdale 4d51660195 osc: usability improvements for pseudo-csd title bar
There are two improvements here:

1) Correct the right-side padding on the title box. This was messed
   up previously because I was passing the title box width when I
   should be passing the x coordinate. I've also increased the
   spacing to separate the title from the window controls more
   clearly.

2) I'ved added a mouse tracking area over the title bar so that the
   osc doesn't disappear if you hover over the title box. This didn't
   work previously because the input area only covers the actual
   window controls. The implementation here is simplified in that
   it's only a mouse area and not an input area. This is enough to
   keep the osc visible, but it won't stop the mouse pointer
   disappearing. Fixing that requires a full input area which, for
   now, I will say isn't worth the effort.
2020-01-13 16:25:34 -08:00
..
javascript js: use osd-dimentions for mp.get_osd_{size,margins} 2020-01-08 11:49:49 +02:00
lua osc: usability improvements for pseudo-csd title bar 2020-01-13 16:25:34 -08:00
audio.c command: shuffle some crap around 2019-11-25 00:26:36 +01:00
client.c client API: fix property notification from non-playloop sources 2020-01-09 18:16:41 +01:00
client.h osd: fix possible misses of osd-dimensions property updates 2020-01-08 02:31:18 +01:00
command.c Revert "options: move cursor autohiding opts to mp_vo_opts" 2020-01-12 01:54:41 +00:00
command.h command, vo: add a mechanism for runtime DPI scale changes 2020-01-09 19:13:42 +01:00
configfiles.c configfiles: Fix utime retcode check 2019-12-31 00:17:07 +01:00
core.h player: avoid underrun wakeup loop 2019-12-16 01:15:43 +01:00
external_files.c external_files: add .lrc subtitle extension 2019-09-02 01:25:43 +03:00
external_files.h player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
javascript.c js: use osd-dimentions for mp.get_osd_{size,margins} 2020-01-08 11:49:49 +02:00
loadfile.c playlist: change from linked list to an array 2019-12-28 21:32:15 +01:00
lua.c lua: use new OSD property 2020-01-08 00:16:58 +01:00
main.c playlist: change from linked list to an array 2019-12-28 21:32:15 +01:00
misc.c playlist: change from linked list to an array 2019-12-28 21:32:15 +01:00
osd.c player: format low cache duration with more decimals 2019-10-11 19:18:43 +02:00
playloop.c Revert "options: move cursor autohiding opts to mp_vo_opts" 2020-01-12 01:54:41 +00:00
screenshot.c screenshot, vo_image: use global swscale/zimg parameters 2019-10-31 15:44:09 +01:00
screenshot.h screenshot, vo_image: use global swscale/zimg parameters 2019-10-31 15:44:09 +01:00
scripting.c console.lua: add this script 2019-12-08 02:46:44 +01:00
sub.c player: ensure backward playback state is propagated on track switching 2019-09-19 20:37:05 +02:00
video.c player: avoid underrun wakeup loop 2019-12-16 01:15:43 +01:00