fixed a core dump

keyboard
Anselm R.Garbe 18 years ago
parent 375a251d16
commit 2c0d1cc87b
  1. 1
      client.c
  2. 6
      tag.c

@ -52,7 +52,6 @@ focus(Client *c)
if (!issel)
return;
Client *old = sel;
XEvent ev;
sel = c;
if(old && old != 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));

Loading…
Cancel
Save