all repos — openbox @ 6412fba7fd1a30465cb01b0e3ebcdf47680e9f02

openbox fork - make it a bit more like ryudo

fix positioning of the icon
Dana Jansens danakj@orodu.net
commit

6412fba7fd1a30465cb01b0e3ebcdf47680e9f02

parent

e44ec05078040091941e4b7c23d21bab5ea9b7e0

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

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

@@ -728,9 +728,9 @@ break; /* break the for loop, do other side of label */

} 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') {