summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2020-01-13 12:18:31 -0800
committerPhilip Langdale <github.philipl@overt.org>2020-01-13 16:25:34 -0800
commit4d516601953be45e6771ce0c26d8df1a6890b6fc (patch)
tree4e7248e4a9902c31fcdf6319ac5fd1a70d8bf53c /etc
parent9f7c2710870f0e2e863871b666cb225f0f773e03 (diff)
downloadmpv-4d516601953be45e6771ce0c26d8df1a6890b6fc.tar.bz2
mpv-4d516601953be45e6771ce0c26d8df1a6890b6fc.tar.xz
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.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions