mirror of
https://github.com/0intro/wmii
synced 2025-01-21 09:32:07 +03:00
Last commit done right.
This commit is contained in:
parent
e8913c2afe
commit
bf6776794c
7
area.c
7
area.c
@ -267,13 +267,10 @@ detach_from_area(Area *a, Frame *f) {
|
||||
c = f->client;
|
||||
|
||||
for(pr = a->frame; pr; pr = pr->anext)
|
||||
if(pr->next == f) break;
|
||||
if(pr->anext == f) break;
|
||||
remove_frame(f);
|
||||
if(a->sel == f) {
|
||||
if(a->sel == f)
|
||||
a->sel = pr;
|
||||
if(f->anext)
|
||||
a->sel = f->anext;
|
||||
}
|
||||
|
||||
if(!a->floating) {
|
||||
if(a->frame)
|
||||
|
Loading…
Reference in New Issue
Block a user