overlapping code
This commit is contained in:
parent
08b264393d
commit
bba30e2686
6
dinput.c
6
dinput.c
@ -278,11 +278,6 @@ setup(Bool topbar) {
|
||||
}
|
||||
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);
|
||||
|
||||
/* menu window */
|
||||
@ -323,7 +318,6 @@ setup(Bool topbar) {
|
||||
DefaultVisual(dpy, screen),
|
||||
CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa);
|
||||
|
||||
/* pixmap */
|
||||
dcsetup();
|
||||
if(prompt)
|
||||
promptw = MIN(textw(prompt), mw / 5);
|
||||
|
6
dmenu.c
6
dmenu.c
@ -489,11 +489,6 @@ setup(Bool topbar) {
|
||||
}
|
||||
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);
|
||||
|
||||
/* menu window */
|
||||
@ -534,7 +529,6 @@ setup(Bool topbar) {
|
||||
DefaultVisual(dpy, screen),
|
||||
CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa);
|
||||
|
||||
/* pixmap */
|
||||
dcsetup();
|
||||
if(maxname)
|
||||
cmdw = MIN(textw(maxname), mw / 3);
|
||||
|
Loading…
Reference in New Issue
Block a user