mirror of
https://github.com/wolfpld/tracy.git
synced 2024-09-20 05:42:18 +00:00
bf3bd28bfa
Wayland kindly informs us which outputs the surface is on, to be used for scale computation (at least on wl_compositor < 6). On mixed DPI setups this fixes Tracy potentially using a higher scale than the output it's displayed on. However, as is, this commit results in Tracy always using scale 1, because at the point of backend creation (which is when the scale is queried) the surface is not yet displayed on any outputs, so a scale of 1 is assumed. |
||
---|---|---|
.. | ||
build | ||
src |