all repos — openbox @ 48d36cd587e70b9680f65811d08038496a9ccc12

openbox fork - make it a bit more like ryudo

Move usage of iconh into the branch that assigns it
Mikael Magnusson mikachu@gmail.com
commit

48d36cd587e70b9680f65811d08038496a9ccc12

parent

128909214a702a6db8cc11616a729d6ca4f06e81

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M openbox/popup.copenbox/popup.c

@@ -201,11 +201,11 @@ iconh = texth * self->iconhm;

textx += iconw + ob_rr_theme->paddingx; if (textw) emptyx += ob_rr_theme->paddingx; /* between the icon and text */ + icony = (h - iconh - emptyy) / 2 + t + ob_rr_theme->paddingy; } else iconw = 0; texty = (h - texth - emptyy) / 2 + t + ob_rr_theme->paddingy; - icony = (h - iconh - emptyy) / 2 + t + ob_rr_theme->paddingy; /* when there is no icon, then fill the whole dialog with the text appearance