Introduction
Introduction Statistics Contact Development Disclaimer Help
tfixed a core dump - dwm - [fork] customized build of dwm, the dynamic window m…
git clone git://src.adamsgaard.dk/dwm
Log
Files
Refs
README
LICENSE
---
commit 2c0d1cc87bf084ed3f1cdb4be881fb4f64f5773a
parent 375a251d16de567b6c62cce208f388cd16e0ce0f
Author: Anselm R.Garbe <[email protected]>
Date: Mon, 14 Aug 2006 10:49:22 +0200
fixed a core dump
Diffstat:
M client.c | 1 -
M tag.c | 6 ++++--
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/client.c b/client.c
t@@ -52,7 +52,6 @@ focus(Client *c)
if (!issel)
return;
Client *old = sel;
- XEvent ev;
sel = c;
if(old && old != c)
diff --git a/tag.c b/tag.c
t@@ -211,8 +211,10 @@ restack()
else
m++;
}
-
- n = 2 * (f + m);
+ if(!(n = 2 * (f + m))) {
+ drawstatus();
+ return;
+ }
if(nwins < n) {
nwins = n;
wins = erealloc(wins, nwins * sizeof(Window));
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.