swayfx/sway
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
..
commands container: Move pending state to state struct 2021-02-16 22:05:00 -05:00
config config/output: correct refresh rate rounding error 2021-01-15 22:53:19 +01:00
desktop Fix #5643, #5064: rounding issues in floating-point -> integer conversions 2021-02-22 21:23:35 -05:00
input container: Move pending state to state struct 2021-02-16 22:05:00 -05:00
tree view: Set parent for view_child subsurfaces on init 2021-02-23 00:17:32 +01:00
commands.c container: Move pending state to state struct 2021-02-16 22:05:00 -05:00
config.c Log when config file is not found 2021-01-17 18:07:13 +01:00
criteria.c container: Move pending state to state struct 2021-02-16 22:05:00 -05:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c container: Move pending state to state struct 2021-02-16 22:05:00 -05:00
ipc-server.c Fix incorrect format specifiers 2020-07-30 22:02:42 -04:00
main.c Make command line option lists const 2021-02-04 09:49:06 +01:00
meson.build input/tablet: add tool_mode option to set tablet tools as relative input 2020-10-12 15:01:37 +02:00
server.c transactions: Amend pending transactions 2021-02-16 00:18:26 +01:00
sway-bar.5.scd Add support for workspace_min_width bar option. 2020-10-11 19:12:42 +02:00
sway-input.5.scd hide_cursor: Add an option to hide when typing 2020-10-30 09:59:54 +01:00
sway-ipc.7.scd document parse_error 2020-11-21 11:42:29 +01:00
sway-output.5.scd Simplify repaint scheduling documentation 2020-05-11 10:36:33 +02:00
sway.1.scd man: update maintainer 2021-01-08 09:33:51 +01:00
sway.5.scd Change workspace_layout to match i3 behavior 2020-12-20 00:58:42 -05:00
swaynag.c Rename symbol set_cloexec to sway_set_cloexec, remove duplicates. 2019-11-01 12:41:08 -04:00
xdg_decoration.c Fix xdg-decoration unconfigured if set before first commit 2019-05-03 15:37:32 -06:00