projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
375a251
)
fixed a core dump
author
Anselm R.Garbe
<arg@10ksloc.org>
Mon, 14 Aug 2006 08:49:22 +0000
(10:49 +0200)
committer
Anselm R.Garbe
<arg@10ksloc.org>
Mon, 14 Aug 2006 08:49:22 +0000
(10:49 +0200)
client.c
patch
|
blob
|
history
tag.c
patch
|
blob
|
history
diff --git
a/client.c
b/client.c
index ecfd8f0eaed7d36e535f6cf58740103f8afd51d9..8d5ea3064d20fd9600d5c5357c865391d6ed040f 100644
(file)
--- 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
index 01979d5039b6f2dd9a81d64d5b43da26b1469503..c4d3b345b27b80f5dcb8bd7c66d3be2104c6229d 100644
(file)
--- 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));