aboutsummaryrefslogtreecommitdiff
path: root/sway/tree
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-08-22 08:23:29 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-08-22 08:23:29 +1000
commite81c26fab910505719745f5eb7060457fd7ba7b0 (patch)
tree670e48ba35f74d56dcd593ac8edca2341a1ca200 /sway/tree
parent395ff7a541bccceba1e1f0fc834236b8f1f55d81 (diff)
Fix sending fullscreen event to view
Fixes #2504
Diffstat (limited to 'sway/tree')
-rw-r--r--sway/tree/container.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index 6ea0cc94..a8c6e667 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -1201,6 +1201,7 @@ void container_set_fullscreen(struct sway_container *container, bool enable) {
container_set_fullscreen(workspace->sway_workspace->fullscreen, false);
}
+ set_fullscreen_iterator(container, &enable);
container_for_each_child(container, set_fullscreen_iterator, &enable);
container->is_fullscreen = enable;