dwm

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 2c0d1cc87bf084ed3f1cdb4be881fb4f64f5773a
parent 375a251d16de567b6c62cce208f388cd16e0ce0f
Author: Anselm R.Garbe <arg@10ksloc.org>
Date:   Mon, 14 Aug 2006 10:49:22 +0200

fixed a core dump

Diffstat:
Mclient.c | 1-
Mtag.c | 6++++--
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/client.c b/client.c @@ -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 @@ -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));