From: Dana Jansens Date: Wed, 9 May 2007 23:53:14 +0000 (+0000) Subject: merge r6255 from trunk X-Git-Tag: openbox-3_3_991-RELEASE~123 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=25f5a6cdeee55513a9e0aeba388df5ef479e884f;p=dana%2Fopenbox.git merge r6255 from trunk --- diff --git a/openbox/frame.c b/openbox/frame.c index 1f45ea8b..5fd36714 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -728,9 +728,9 @@ static void layout_title(ObFrame *self) } else if (*lc == 'N') { if (firstcon) *firstcon = OB_FRAME_CONTEXT_ICON; if ((self->icon_on = is_button_present(self, lc, i))) { - /* icon gets extra padding */ + /* icon is bigger than buttons */ self->label_width -= bwidth + 2; - self->icon_x = x + (i * 1); + self->icon_x = x; x += i * (bwidth + 2); } } else if (*lc == 'D') {