Introduction
Introduction Statistics Contact Development Disclaimer Help
tfixed - dwm - [fork] customized build of dwm, the dynamic window manager
git clone git://src.adamsgaard.dk/dwm
Log
Files
Refs
README
LICENSE
---
commit de7fc0011eccb546db1278fad41b684b3abaca18
parent 2e0c767d74da024c3cd4dbd524e1364039704451
Author: Anselm R. Garbe <[email protected]>
Date: Thu, 24 Aug 2006 12:07:10 +0200
fixed
Diffstat:
M draw.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/draw.c b/draw.c
t@@ -114,16 +114,16 @@ drawstatus()
dc.x = dc.y = 0;
dc.w = bw;
- drawtext(NULL, !istile, False);
+ drawtext(NULL, istile ? 1 : 0, False);
dc.w = 0;
for(i = 0; i < ntags; i++) {
dc.x += dc.w;
dc.w = textw(tags[i]);
if(istile)
- drawtext(tags[i], seltag[i], sel && sel->tags[i]);
+ drawtext(tags[i], seltag[i] ? 0 : 1, sel && sel->tags[…
else
- drawtext(tags[i], !seltag[i], sel && sel->tags[i]);
+ drawtext(tags[i], seltag[i] ? 1 : 0, sel && sel->tags[…
}
x = dc.x + dc.w;
dc.w = textw(stext);
t@@ -132,11 +132,11 @@ drawstatus()
dc.x = x;
dc.w = bw - x;
}
- drawtext(stext, !istile, False);
+ drawtext(stext, istile ? 1 : 0, False);
if(sel && ((dc.w = dc.x - x) > bh)) {
dc.x = x;
- drawtext(sel->name, istile, False);
+ drawtext(sel->name, istile ? 0 : 1, False);
}
XCopyArea(dpy, dc.drawable, barwin, dc.gc, 0, 0, bw, bh, 0, 0);
XSync(dpy, False);
t@@ -159,7 +159,7 @@ drawtitle(Client *c)
XMapWindow(dpy, c->twin);
dc.x = dc.y = 0;
dc.w = c->tw;
- drawtext(c->name, !istile, False);
+ drawtext(c->name, istile ? 1 : 0, False);
XCopyArea(dpy, dc.drawable, c->twin, dc.gc, 0, 0, c->tw, c->th, 0, 0);
XSync(dpy, False);
}
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.