X-Git-Url: http://git.openbox.org/?p=dana%2Fopenbox.git;a=blobdiff_plain;f=openbox%2Fpopup.c;h=6dd0e30ddd1ceb38283258792b9544560a29664f;hp=8ff8c5330df1670e17fd87a53d1c6e11c1117e70;hb=48d36cd587e70b9680f65811d08038496a9ccc12;hpb=128909214a702a6db8cc11616a729d6ca4f06e81 diff --git a/openbox/popup.c b/openbox/popup.c index 8ff8c53..6dd0e30 100644 --- a/openbox/popup.c +++ b/openbox/popup.c @@ -201,11 +201,11 @@ void popup_delay_show(ObPopup *self, gulong msec, gchar *text) 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