aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-09-22 21:24:05 +0530
committersinanmohd <sinan@firemail.cc>2023-09-22 22:17:07 +0530
commit1e24a2fe3dda8d0c4e60800c10228c7da534b2a5 (patch)
tree3d49710b4a1f6ed8696ab8a1a3a1c6b23d3a4e5b
parent5684d55c64ace45b92eaccaf46e43f0d84a6859d (diff)
swallow: better management of swallowing window's fullscreen state
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index 6c1c6d0..4e702f5 100644
--- a/dwl.c
+++ b/dwl.c
@@ -2573,7 +2573,7 @@ unmapnotify(struct wl_listener *listener, void *data)
}
if (c->swallowedby) {
- setfullscreen(c->swallowedby, c->isfullscreen);
+ setfullscreen(c, c->swallowedby->isfullscreen & c->isfullscreen);
swallow(c->swallowedby, c);
c->swallowedby->swallowing = NULL;
c->swallowedby = NULL;