Merge pull request #2505 from RyanDwyer/fix-set-fullscreen

Fix sending fullscreen event to view
master
Drew DeVault 6 years ago committed by GitHub
commit ce12d912dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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