core dump fix in cleanup

This commit is contained in:
Anselm R Garbe 2008-05-28 10:45:18 +01:00
parent 940a4cc6c6
commit e1002745fa
1 changed files with 1 additions and 1 deletions

2
dwm.c
View File

@ -357,7 +357,7 @@ checkotherwm(void) {
void void
cleanup(void) { cleanup(void) {
close(STDIN_FILENO); close(STDIN_FILENO);
view(NULL); view((uint[]){~0});
while(stack) while(stack)
unmanage(stack); unmanage(stack);
if(dc.font.set) if(dc.font.set)