swayfx/sway/desktop
Dimitris Triantafyllidis aac1582ea9 Fix #5643, #5064: rounding issues in floating-point -> integer conversions
Currently, various floating-point expressions involving
the coordinates of borders, titlebars and content surfaces
are directly assigned to integers, and so they are rounded
towards zero.

This results in off-by-one distances between these elements
when the signs of their coordinates differ.

Fixed by wrapping these expressions with a call to
floor before the assignment.
2021-02-22 21:23:35 -05:00
..
desktop.c Stop using wlr_output->{lx,ly} 2019-03-11 12:43:01 -04:00
idle_inhibit_v1.c Add views idle inhibition status in get_tree output 2020-05-29 17:29:41 -04:00
layer_shell.c desktop/layer_shell: Fix allocation type mismatch 2021-01-30 02:28:39 -05:00
output.c Fix #5643, #5064: rounding issues in floating-point -> integer conversions 2021-02-22 21:23:35 -05:00
render.c Fix #5643, #5064: rounding issues in floating-point -> integer conversions 2021-02-22 21:23:35 -05:00
surface.c Make handle_destroy and output_repaint_timer_handler static 2020-03-04 03:09:43 +01:00
transaction.c Fix incorrect damage being applied on popups 2021-02-21 17:30:49 -05:00
xdg_shell.c container: Move pending state to state struct 2021-02-16 22:05:00 -05:00
xwayland.c container: Move pending state to state struct 2021-02-16 22:05:00 -05:00