sway/sway/config
Kenny Levinsen 8ac1f72c9e config/output: Use INT_MAX as x/y unset value
We oftne use -1 to indicate unset values. In case of output (x, y), we
would consider the fields set if they are not both -1. This means that
(0, -1) and (-1, 0) are valid coordinates, but (-1, -1) is not.

We support negative output positioning, so we cannot use -1 to mean
unset. Zero is also not an option as that would disallow reverting a set
position back to (0, 0).

INT_MAX is an unreasonable output position, so use it to indicate unset
values, and only use the value when both are set.
2025-05-01 00:00:50 +02:00
..
bar.c Use pthread_atfork() to restore signals and NOFILE limit 2025-04-21 15:17:36 +02:00
input.c Use has_prefix() instead of strncmp() throughout 2025-01-07 16:35:31 +01:00
output.c config/output: Use INT_MAX as x/y unset value 2025-05-01 00:00:50 +02:00
seat.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00