sway/swaynag
Dimitris Triantafyllidis c14feee90a Fix swaynag off-by-one issues in button positions
Button positions are off in both the x and y directions.

This can be easily seen if we set the thickness of button borders
to 1 and set all the other margins, paddings, border thicknesses
and button gaps to 0.

Then, in the y direction, there is an one-pixel gap between the top
of swaynag and the top button borders, while the bottom button borders
are invisible. In the x direction, the right border of the dismiss
button is invisible, while the borders of adjacent buttons overlap
by one pixel.

Fixed by removing the explicit one-pixel offsets in the assignment
statements for button->x and button-y in the render_button function.
2020-09-03 03:30:38 +03:00
..
config.c swaynag: allow specifying more buttons which execute and dismiss 2020-06-09 00:00:14 +02:00
main.c Fix incorrect format specifiers 2020-07-30 22:02:42 -04:00
meson.build swaybg: split into standalone project 2019-04-25 18:44:28 +03:00
render.c Fix swaynag off-by-one issues in button positions 2020-09-03 03:30:38 +03:00
swaynag.1.scd swaynag: allow specifying more buttons which execute and dismiss 2020-06-09 00:00:14 +02:00
swaynag.5.scd swaynag: add blank lines after headings in scdocs 2018-08-01 22:47:54 -04:00
swaynag.c swaynag: sway_abort on failure to properly register 2020-06-10 15:50:31 +02:00
types.c swaynag: revamp type configs 2019-04-20 09:14:41 -06:00