mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-14 08:22:13 -04:00
opt: not swallow the isminied window
This commit is contained in:
parent
7c7a9437e6
commit
b3ccf43453
1 changed files with 1 additions and 1 deletions
|
|
@ -1376,7 +1376,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