all repos — openbox @ 007e62fa7722cafcd5344976cb4b621931eae3b0

openbox fork - make it a bit more like ryudo

fix popup sizes
Dana Jansens danakj@orodu.net
commit

007e62fa7722cafcd5344976cb4b621931eae3b0

parent

2ad26c7e70b6141f0aec339051d800099222a669

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

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

@@ -170,7 +170,8 @@ textw = self->w;

w = l+r + textw + iconw + ob_rr_theme->paddingx * (self->hasicon ? 3 : 2); /* cap it at "maxw" */ - w = MIN(w, self->maxw); + if (self->maxw) + w = MIN(w, self->maxw); /* sanity checks to avoid crashes! */ if (w < 1) w = 1;