Permalink
Browse files

Fixes issue #242

  • Loading branch information...
1 parent cfaa4bf commit f893e745b65cc5b3d6fcd6c4e6809c6bae39aedf Juan Pablo Aroztegi committed Sep 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmd/wmii/view.c
View
@@ -453,7 +453,7 @@ view_detach(Frame *f) {
event("ViewDetach %s %#C\n", v->name, c);
view_update(v);
- if(view != selview && empty_p(v))
+ if(v != selview && empty_p(v))
view_destroy(v);
}

0 comments on commit f893e74

Please sign in to comment.