swayfx/sway/desktop
Ryan Dwyer c699a86e47 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.
2018-10-12 22:36:11 +10:00
..
desktop.c Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
idle_inhibit_v1.c Fix crash when destroying an idle-inhibiting client 2018-09-16 23:20:58 +10:00
layer_shell.c Give focus to another swaylock surface when output is disconnected 2018-10-04 19:36:19 +10:00
output.c Fix pixel leaks when using fractional scaling 2018-10-12 22:36:11 +10:00
render.c Fix pixel leaks when using fractional scaling 2018-10-12 22:36:11 +10:00
transaction.c Merge pull request #2703 from RyanDwyer/csd-border 2018-10-03 13:03:06 +02:00
xdg_shell.c Merge pull request #2772 from RyanDwyer/improve-popup-damage 2018-10-09 00:02:36 +02:00
xdg_shell_v6.c Merge pull request #2772 from RyanDwyer/improve-popup-damage 2018-10-09 00:02:36 +02:00
xwayland.c Remove duplicate code 2018-10-08 23:50:43 +10:00