Introduction
Introduction Statistics Contact Development Disclaimer Help
tapplied Gottox patches - dwm - [fork] customized build of dwm, the dynamic win…
git clone git://src.adamsgaard.dk/dwm
Log
Files
Refs
README
LICENSE
---
commit 931e712eac3dad86e9447944ac70f7b238f8a58d
parent 4ec04209e0b63c76bc607ed963707ef0640c9ed4
Author: arg@mig29 <unknown>
Date: Tue, 21 Nov 2006 14:49:13 +0100
applied Gottox patches
Diffstat:
M config.mk | 2 +-
M draw.c | 7 ++-----
M main.c | 5 +++--
3 files changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/config.mk b/config.mk
t@@ -1,5 +1,5 @@
# dwm version
-VERSION = 2.2
+VERSION = 2.3
# Customize below to fit your system
diff --git a/draw.c b/draw.c
t@@ -99,7 +99,7 @@ drawstatus(void) {
drawtext(arrange == dofloat ? FLOATSYMBOL : TILESYMBOL, dc.status, Fa…
x = dc.x + dc.w;
dc.w = textw(stext);
- dc.x = bx + bw - dc.w;
+ dc.x = bw - dc.w;
if(dc.x < x) {
dc.x = x;
dc.w = bw - x;
t@@ -107,10 +107,7 @@ drawstatus(void) {
drawtext(stext, dc.status, False);
if((dc.w = dc.x - x) > bh) {
dc.x = x;
- if(sel)
- drawtext(sel->name, dc.sel, False);
- else
- drawtext(NULL, dc.norm, False);
+ drawtext(sel ? sel->name : NULL, dc.sel, False);
}
XCopyArea(dpy, dc.drawable, barwin, dc.gc, 0, 0, bw, bh, 0, 0);
XSync(dpy, False);
diff --git a/main.c b/main.c
t@@ -130,7 +130,8 @@ setup(void) {
sh = DisplayHeight(dpy, screen);
master = MASTER;
/* bar */
- bx = by = 0;
+ bx = sx;
+ by = sy;
bw = sw;
dc.h = bh = dc.font.height + 2;
wa.override_redirect = 1;
t@@ -144,7 +145,7 @@ setup(void) {
strcpy(stext, "dwm-"VERSION);
/* windowarea */
wax = sx;
- way = bh;
+ way = sy + bh;
wah = sh - bh;
waw = sw;
/* pixmap for everything */
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.