From 3c35b90dd3e79e42b115f850dee077eda9816363 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Tue, 16 Jan 2007 11:33:42 +0100 Subject: removed unnecessary bx, by, bw variables --- draw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'draw.c') diff --git a/draw.c b/draw.c index fe2951c..178770b 100644 --- a/draw.c +++ b/draw.c @@ -114,17 +114,17 @@ drawstatus(void) { drawtext(arrange == dofloat ? FLOATSYMBOL : TILESYMBOL, dc.norm, False, False); x = dc.x + dc.w; dc.w = textw(stext); - dc.x = bw - dc.w; + dc.x = sw - dc.w; if(dc.x < x) { dc.x = x; - dc.w = bw - x; + dc.w = sw - x; } drawtext(stext, dc.norm, False, False); if((dc.w = dc.x - x) > bh) { dc.x = x; drawtext(sel ? sel->name : NULL, sel ? dc.sel : dc.norm, False, False); } - XCopyArea(dpy, dc.drawable, barwin, dc.gc, 0, 0, bw, bh, 0, 0); + XCopyArea(dpy, dc.drawable, barwin, dc.gc, 0, 0, sw, bh, 0, 0); XSync(dpy, False); } -- cgit 1.4.1-2-gfad0 sub'>Profanity fork with TTY improvementsdanisanti <danisanti@tilde.institute>
about summary refs log tree commit diff stats
path: root/themes/redsplash
blob: 965ff871c1676fd4338499f723597a5795bd031d (plain) (blame)
1
2