mirror of
https://github.com/0intro/wmii
synced 2025-01-06 02:22:01 +03:00
fixed a crashing bug
This commit is contained in:
parent
eb6f1ac641
commit
87fac5fd96
@ -402,7 +402,7 @@ detach_client(Client *c, Bool unmap)
|
||||
if(area2index(a)) { /* column */
|
||||
if(!a->nclient) {
|
||||
Page *p = a->page;
|
||||
if(p->narea != 2) {
|
||||
if(p->narea > 2) {
|
||||
destroy_area(a);
|
||||
arrange_page(p, True);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user