diff options
author | 2021-02-22 00:30:36 -0500 | |
---|---|---|
committer | 2021-02-22 02:08:37 -0500 | |
commit | e0a94bee8da3271f942c0881ee18a7e2d4138063 (patch) | |
tree | 531b3b9db103d2cb147fb89126fb2b4153d8e845 /include/log.h | |
parent | Fix incorrect damage being applied on popups (diff) | |
download | sway-e0a94bee8da3271f942c0881ee18a7e2d4138063.tar.gz sway-e0a94bee8da3271f942c0881ee18a7e2d4138063.tar.zst sway-e0a94bee8da3271f942c0881ee18a7e2d4138063.zip |
render: scale titlebars correctly when straddling outputs
When a container straddles multiple outputs, the title bar is only rendered
at the scale of the "effective" output. If the title bar straddles onto
another output with a different scale factor, it was drawn at the wrong size.
In this commit, we take into consideration the scale the title was rendered
at and scale it accordingly so that it appears at the right size on the other
outputs.
This fixes #6054.
Diffstat (limited to 'include/log.h')
0 files changed, 0 insertions, 0 deletions