]> git.mdlowis.com Git - proto/labwc.git/commit
desktop: work around client-side rounding issues at right/bottom pixel
authorJohn Lindgren <john@jlindgren.net>
Mon, 20 Oct 2025 02:15:37 +0000 (22:15 -0400)
committerJohan Malm <johanmalm@users.noreply.github.com>
Mon, 20 Oct 2025 19:11:08 +0000 (20:11 +0100)
commit28cd50406730d9f50761c0898d3fcb90c6c11761
tree17e273ef879145ddf605873fcc79db679e7c0506
parent1e406dd6495bf7e55dccc2e75578efee79a0df18
desktop: work around client-side rounding issues at right/bottom pixel

This also avoids a similar server-side rounding issue with some
combinations of wlroots and libwayland versions. See:

- https://gitlab.freedesktop.org/wayland/wayland/-/issues/555
- https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5159

Tested with qmpanel (similar to lxqt-panel) at 1x and 2x output scale.
Does not help if scaling is done client-side, e.g. QT_SCALE_FACTOR=2.

Fixes: #2379
Fixes: #3099
src/desktop.c