mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-31 22:25:29 -04:00
fix: get error root_client in scroller layout
This commit is contained in:
parent
ca89ab1eb9
commit
617b71b61f
1 changed files with 0 additions and 3 deletions
3
maomao.c
3
maomao.c
|
|
@ -1350,7 +1350,6 @@ swallow(Client *c, Client *w)
|
||||||
c->ismaxmizescreen = w->ismaxmizescreen;
|
c->ismaxmizescreen = w->ismaxmizescreen;
|
||||||
c->tags = w->tags;
|
c->tags = w->tags;
|
||||||
c->geom = w->geom;
|
c->geom = w->geom;
|
||||||
c->mon = w->mon;
|
|
||||||
c->scroller_proportion = w->scroller_proportion;
|
c->scroller_proportion = w->scroller_proportion;
|
||||||
wl_list_insert(&w->link, &c->link);
|
wl_list_insert(&w->link, &c->link);
|
||||||
wl_list_insert(&w->flink, &c->flink);
|
wl_list_insert(&w->flink, &c->flink);
|
||||||
|
|
@ -1363,8 +1362,6 @@ swallow(Client *c, Client *w)
|
||||||
|
|
||||||
if(!c->foreign_toplevel && c->mon)
|
if(!c->foreign_toplevel && c->mon)
|
||||||
add_foreign_toplevel(c);
|
add_foreign_toplevel(c);
|
||||||
|
|
||||||
focusclient(c, true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void // 0.5
|
void // 0.5
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue