diff options
author | sinanmohd <sinan@firemail.cc> | 2023-09-23 06:44:49 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-09-23 09:54:32 +0530 |
commit | 4606e06d2966743cc9b50d87ccafdbfe8e20fd16 (patch) | |
tree | a3386a78c6ea5af267c410a5577688f47341bf01 | |
parent | f42589673fa10d6f71d87b6824de21122be52a43 (diff) |
swallow: don't ignore full screen request from swallowed window
-rw-r--r-- | dwl.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1416,7 +1416,7 @@ swallow(Client *c, Client *w) { c->bw = w->bw; c->isfloating = w->isfloating; c->isurgent = w->isurgent; - c->isfullscreen = w->isfullscreen; + c->isfullscreen |= w->isfullscreen; c->tags = w->tags; resize(c, w->geom, 0); wl_list_insert(&w->link, &c->link); @@ -1681,7 +1681,8 @@ mapnotify(struct wl_listener *listener, void *data) swallow(c,p); wl_list_remove(&p->link); wl_list_remove(&p->flink); - setfullscreen(c, p->isfullscreen); + if (c->isfullscreen) + setfullscreen(c, c->isfullscreen); } } |