mirror of
https://github.com/0intro/wmii
synced 2025-02-13 12:54:53 +03:00
fixed annoying area[0] removal on detach_fromarea
This commit is contained in:
parent
ee58535ee0
commit
fd9dbf43e0
@ -159,7 +159,7 @@ detach_fromarea(Area *a, Client *c)
|
||||
if(a->nframe)
|
||||
arrange_area(a);
|
||||
else {
|
||||
if(t->narea > 2)
|
||||
if(area2index(a) && t->narea > 2)
|
||||
destroy_area(a);
|
||||
arrange_tag(t, True);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user