summaryrefslogtreecommitdiffstats
path: root/README.el.md
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-10-12 22:36:11 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-10-12 22:36:11 +1000
commitc699a86e472d81c4654f19d39e42eb8cfd64bd94 (patch)
treed73f1824e5d76f4a6556e1d9a880329517847e00 /README.el.md
parentMerge pull request #2821 from meakio/master (diff)
downloadsway-c699a86e472d81c4654f19d39e42eb8cfd64bd94.tar.gz
sway-c699a86e472d81c4654f19d39e42eb8cfd64bd94.tar.zst
sway-c699a86e472d81c4654f19d39e42eb8cfd64bd94.zip
Fix pixel leaks when using fractional scaling
The basic idea here is to apply rounding after scaling. It's not as simple as this, though, and I've detailed it in the comments for a function. In order to fix some pixel leaks in the title bar, I found it easier to change how we place rectangles to fill the area. Instead of placing two rectangles across the full width above and below the title and having shorter rectangles in the inner area, it's now pieced together in vertical chunks. This method involves drawing two less rectangles per container.
Diffstat (limited to 'README.el.md')
0 files changed, 0 insertions, 0 deletions