mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-06 04:06:11 -05:00
Use ceil() instead of integer division in wlr_output_effective_resolution() to prevent truncation of fractional values when output scale doesn't evenly divide the physical resolution. This ensures logical resolution properly covers all physical pixels. Signed-off-by: sunzhguy <sunzhigang1@kylinos.cn> |
||
|---|---|---|
| .. | ||
| cursor.c | ||
| output.c | ||
| render.c | ||
| state.c | ||
| swapchain.c | ||