]> git.mdlowis.com Git - proto/labwc.git/commit
img: apply padding around window icon only horizontally
authortokyo4j <hrak1529@gmail.com>
Sat, 4 Jan 2025 07:50:21 +0000 (16:50 +0900)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 4 Jan 2025 08:32:02 +0000 (08:32 +0000)
commit6feb6589ea00df5a2c47fe37f11f858e50bfc8eb
tree48095d042b7b5f909569c4d9cd30ce1d832c28bd
parent70fb7138743ba22c0cfd797828fd7477183c39bc
img: apply padding around window icon only horizontally

16dbdc64 changed the padding around the app icon in the titlebar to be
applied both vertically and horizontally rather than only horizontally
because it was more natural from a developer's perspective, but some users
complained about the smaller icons in certain configurations.

So let's undo the change in 16dbdc64 and apply the icon padding only
horizontally for now.

We can add configurations for the icon padding (or icon size independent
from window.button.{width,height}?) later.
include/img/img.h
src/img/img-svg.c
src/img/img.c
src/ssd/ssd-part.c
src/ssd/ssd-titlebar.c