aboutsummaryrefslogtreecommitdiff
path: root/dinput.c
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2010-06-23 12:42:08 +0100
committerConnor Lane Smith <cls@lubutu.com>2010-06-23 12:42:08 +0100
commitbba30e26863c75e66678f9d028d394883d86150a (patch)
treea2ca09eb5c113b772d986e38301a56b276e306bf /dinput.c
parent08b264393d41321c1b7ae3644f73c67cb825c95c (diff)
downloaddmenu-bba30e26863c75e66678f9d028d394883d86150a.tar.gz
dmenu-bba30e26863c75e66678f9d028d394883d86150a.tar.bz2
dmenu-bba30e26863c75e66678f9d028d394883d86150a.zip
overlapping code
Diffstat (limited to 'dinput.c')
-rw-r--r--dinput.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/dinput.c b/dinput.c
index 490380d..52118e5 100644
--- a/dinput.c
+++ b/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);