|author||Dudemanguy <firstname.lastname@example.org>||2021-04-12 13:53:10 -0500|
|committer||Dudemanguy <email@example.com>||2021-04-12 14:09:28 -0500|
wayland: support the display-hidpi-scale property
So apparently this property had existed since 2019. Internally, it's used as a part of the console.lua script for scaling. Yours truly somehow didn't bat an eye at the fact that the text in the console was super small (made worse by the fact that xwayland does scale) and just ignored it for all this time. Oh well. To report dpi changes to mpv's core, we need to use VO_EVENT_DPI in a couple of places. One place is, of course, the surface listener if the scale value reported by the wayland server changes. The other place is in the very first reconfig since mpv's core will not find the correct scale value until we actually get a wl_output from the wayland server.
Diffstat (limited to 'libswscale/swscale.c')
0 files changed, 0 insertions, 0 deletions