mirror of
https://github.com/0intro/wmii
synced 2024-11-22 05:42:05 +03:00
Fix wmii9menu sizing bug. Don't border borderless, selected, fullscreen clients.
This commit is contained in:
parent
71884fe934
commit
69c95ddfee
@ -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);
|
||||
|
@ -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]));
|
||||
|
Loading…
Reference in New Issue
Block a user