]> git.mdlowis.com Git - proto/labwc.git/commit
ssd: scale down button icons if necessary
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Fri, 23 Dec 2022 21:59:27 +0000 (22:59 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Thu, 29 Dec 2022 22:19:13 +0000 (22:19 +0000)
commit0db67a508c26c4d11ea9fbe1b524af8e0b825b99
tree2ae47db0a760c8337a9f5cecd23e22567eff07e1
parent86fa0c0a6558eb85542e78eb050aa8b8a58b42eb
ssd: scale down button icons if necessary

This allows using large XBM button icons (larger than
the button width / height) for high and mixed DPI usecases.

Instead of scaling up the low pixel icons when moving a window to a
high DPI output we scale the icons down when moving to a non-scaled
output. The user is still responsible to create / use larger XBM
icons for their theme.

Partly fixes #609
src/ssd/ssd_part.c