aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;