all repos — dwm @ 2c0d1cc87bf084ed3f1cdb4be881fb4f64f5773a

my dwm build

fixed a core dump
Anselm R.Garbe arg@10ksloc.org
Mon, 14 Aug 2006 10:49:22 +0200
commit

2c0d1cc87bf084ed3f1cdb4be881fb4f64f5773a

parent

375a251d16de567b6c62cce208f388cd16e0ce0f

2 files changed, 4 insertions(+), 3 deletions(-)

jump to
M client.cclient.c

@@ -52,7 +52,6 @@ {

if (!issel) return; Client *old = sel; - XEvent ev; sel = c; if(old && old != c)
M tag.ctag.c

@@ -211,8 +211,10 @@ f++;

else m++; } - - n = 2 * (f + m); + if(!(n = 2 * (f + m))) { + drawstatus(); + return; + } if(nwins < n) { nwins = n; wins = erealloc(wins, nwins * sizeof(Window));