mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-05 07:15:49 -04:00
opt: not swallow the isminied window
This commit is contained in:
parent
0ac0361241
commit
3c5d71bed9
1 changed files with 1 additions and 1 deletions
|
|
@ -1385,7 +1385,7 @@ void applyrules(Client *c) {
|
||||||
if (!c->noswallow && !c->isfloating && !client_is_float_type(c) &&
|
if (!c->noswallow && !c->isfloating && !client_is_float_type(c) &&
|
||||||
!c->surface.xdg->initial_commit) {
|
!c->surface.xdg->initial_commit) {
|
||||||
Client *p = termforwin(c);
|
Client *p = termforwin(c);
|
||||||
if (p) {
|
if (p && !p->isminied) {
|
||||||
c->swallowedby = p;
|
c->swallowedby = p;
|
||||||
p->swallowing = c;
|
p->swallowing = c;
|
||||||
wl_list_remove(&c->link);
|
wl_list_remove(&c->link);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue