wlroots/util
tokyo4j 8fc64ae8d5 util/box.c: use 1/256 instead of 1/65536 in wlr_box_closest_point()
This fixes the issue that a scrollbar in a maximized GTK/Chromium window
cannot be dragged when cursor is on the right/bottom edge of the output.

The issue was caused by rounding in `wl_fixed_from_double()` ([1]); if
`wlr_cursor_move()` constrains the x-position of the cursor to
`(output width)-1/65536`, `wl_fixed_from_double()` converts it to just
`(output width)`, which is perceived as outside of the window by
GTK/Chromium.

Using 1/256 (minimal unit of `wl_fixed_t`) instead of 1/65536 avoids
this rounding issue.

[1]: f246e619d1

(cherry picked from commit 19c5d22beb)
2025-10-21 10:25:18 -04:00
..
addon.c
array.c
box.c util/box.c: use 1/256 instead of 1/65536 in wlr_box_closest_point() 2025-10-21 10:25:18 -04:00
env.c
global.c
log.c Define _POSIX_C_SOURCE globally 2024-02-15 15:41:12 +01:00
matrix.c util/matrix: add matrix_invert() 2025-03-30 16:21:26 +02:00
meson.build matrix: move to util/ 2025-01-27 17:48:18 +01:00
rect_union.c
region.c
set.c
shm.c Define _POSIX_C_SOURCE globally 2024-02-15 15:41:12 +01:00
time.c util/time: Move NSEC_PER_SEC to header 2024-11-07 10:22:56 +01:00
token.c Define _POSIX_C_SOURCE globally 2024-02-15 15:41:12 +01:00
transform.c
utf8.c