opt: not swallow the isminied window
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user