]> git.mdlowis.com Git - proto/labwc.git/commit
osd: use wlr_output_effective_resolution() to get output geometry
authortokyo4j <hrak1529@gmail.com>
Sat, 1 Nov 2025 16:12:42 +0000 (01:12 +0900)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 1 Nov 2025 17:03:37 +0000 (17:03 +0000)
commit0f62648d39f5b253cb6ef0c1b9f8b2317302f6a6
tree11fad4fdfb0cd344baeb21d7bb4ab7cd4776e599
parentef01ebe18747fd28ce0184164762a0d3d13acf0c
osd: use wlr_output_effective_resolution() to get output geometry

Before this commit, output transformations were not taken into account for
parcent-based osd widths like:

osd.window-switcher.style-classic.width: 80%
osd.window-switcher.style-thumbnail.width.max: 80%
src/osd/osd-classic.c
src/osd/osd-thumbnail.c