|
@ -278,11 +278,6 @@ setup(Bool topbar) { |
|
|
} |
|
|
} |
|
|
XFreeModifiermap(modmap); |
|
|
XFreeModifiermap(modmap); |
|
|
|
|
|
|
|
|
/* style */ |
|
|
|
|
|
dc.norm[ColBG] = getcolor(normbgcolor); |
|
|
|
|
|
dc.norm[ColFG] = getcolor(normfgcolor); |
|
|
|
|
|
dc.sel[ColBG] = getcolor(selbgcolor); |
|
|
|
|
|
dc.sel[ColFG] = getcolor(selfgcolor); |
|
|
|
|
|
initfont(font); |
|
|
initfont(font); |
|
|
|
|
|
|
|
|
/* menu window */ |
|
|
/* menu window */ |
|
@ -323,7 +318,6 @@ setup(Bool topbar) { |
|
|
DefaultVisual(dpy, screen), |
|
|
DefaultVisual(dpy, screen), |
|
|
CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa); |
|
|
CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa); |
|
|
|
|
|
|
|
|
/* pixmap */ |
|
|
|
|
|
dcsetup(); |
|
|
dcsetup(); |
|
|
if(prompt) |
|
|
if(prompt) |
|
|
promptw = MIN(textw(prompt), mw / 5); |
|
|
promptw = MIN(textw(prompt), mw / 5); |
|
|