Fix sending fullscreen event to view

Fixes #2504
master
Ryan Dwyer 6 years ago
parent 395ff7a541
commit e81c26fab9

@ -1201,6 +1201,7 @@ void container_set_fullscreen(struct sway_container *container, bool enable) {
container_set_fullscreen(workspace->sway_workspace->fullscreen, false); container_set_fullscreen(workspace->sway_workspace->fullscreen, false);
} }
set_fullscreen_iterator(container, &enable);
container_for_each_child(container, set_fullscreen_iterator, &enable); container_for_each_child(container, set_fullscreen_iterator, &enable);
container->is_fullscreen = enable; container->is_fullscreen = enable;

Loading…
Cancel
Save