diff --git a/cmd/wmii/frame.c b/cmd/wmii/frame.c index 1bb661fd..35b12b04 100644 --- a/cmd/wmii/frame.c +++ b/cmd/wmii/frame.c @@ -478,7 +478,7 @@ frame_draw(Frame *f) { border(img, insetrect(r, -1), 1, def.normcolor.bg); /* Draw a border on borderless+titleless selected apps. */ - if(f->area->floating && c->borderless && c->titleless && c == selclient()) + if(f->area->floating && c->borderless && c->titleless && !c->fullscreen && c == selclient()) setborder(c->framewin, def.border, def.focuscolor.border); else setborder(c->framewin, 0, 0); diff --git a/cmd/wmii9menu.c b/cmd/wmii9menu.c index 62ee6c77..29d6e85b 100644 --- a/cmd/wmii9menu.c +++ b/cmd/wmii9menu.c @@ -208,6 +208,7 @@ run_menu(void) XEvent ev; int i, old, wide, high; + wide = 0; high = labelh(font); for(i = 0; i < numitems; i++) wide = max(wide, textwidth(font, labels[i]));