]> git.mdlowis.com Git - proto/labwc.git/commit
ssd: respect logical size when displaying window icon
authorJohn Lindgren <john@jlindgren.net>
Mon, 7 Oct 2024 01:29:40 +0000 (21:29 -0400)
committerJohn Lindgren <john@jlindgren.net>
Mon, 7 Oct 2024 01:29:40 +0000 (21:29 -0400)
commit465aac5514de492ab1ff6eff0f826e71f9ab3cf0
tree1170073a84c0e01b13f2ddcad8c3972372af0e62
parentddfaae98adfa3aaf74045c4142fd427c545d8cbf
ssd: respect logical size when displaying window icon

get_scale_box() was using the raw pixel size of the icon buffer for
layout, which caused the icon to be incorrectly scaled up if the buffer
scale was >1.
include/ssd-internal.h
src/ssd/ssd-part.c
src/ssd/ssd-titlebar.c