aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorAnselm R.Garbe <arg@10ksloc.org>2006-08-10 10:28:58 +0200
committerAnselm R.Garbe <arg@10ksloc.org>2006-08-10 10:28:58 +0200
commit4318bf2905a8da290ec83cb67f26bd06ba2e4dc9 (patch)
tree0595003df69ca5420bc3c9a7a86b6df1c66325bf /main.c
parent25f71b382953630a48e321737498f9c561e66433 (diff)
downloaddmenu-4318bf2905a8da290ec83cb67f26bd06ba2e4dc9.tar.gz
dmenu-4318bf2905a8da290ec83cb67f26bd06ba2e4dc9.tar.bz2
dmenu-4318bf2905a8da290ec83cb67f26bd06ba2e4dc9.zip
removed unnecessary border color
Diffstat (limited to 'main.c')
-rw-r--r--main.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/main.c b/main.c
index 3b9a24b..14581c4 100644
--- a/main.c
+++ b/main.c
@@ -77,17 +77,17 @@ drawmenu()
dc.y = 0;
dc.w = mw;
dc.h = mh;
- drawtext(NULL, False, False);
+ drawtext(NULL, False);
/* print command */
if(cmdw && item)
dc.w = cmdw;
- drawtext(text[0] ? text : NULL, False, False);
+ drawtext(text[0] ? text : NULL, False);
dc.x += cmdw;
if(curr) {
dc.w = SPACE;
- drawtext((curr && curr->left) ? "<" : NULL, False, False);
+ drawtext((curr && curr->left) ? "<" : NULL, False);
dc.x += dc.w;
/* determine maximum items */
@@ -95,13 +95,13 @@ drawmenu()
dc.w = textw(i->text);
if(dc.w > mw / 3)
dc.w = mw / 3;
- drawtext(i->text, sel == i, sel == i);
+ drawtext(i->text, sel == i);
dc.x += dc.w;
}
dc.x = mw - SPACE;
dc.w = SPACE;
- drawtext(next ? ">" : NULL, False, False);
+ drawtext(next ? ">" : NULL, False);
}
XCopyArea(dpy, dc.drawable, win, dc.gc, 0, 0, mw, mh, 0, 0);
XFlush(dpy);
@@ -316,7 +316,6 @@ main(int argc, char *argv[])
/* style */
dc.bg = getcolor(BGCOLOR);
dc.fg = getcolor(FGCOLOR);
- dc.border = getcolor(BORDERCOLOR);
setfont(FONT);
wa.override_redirect = 1;