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

Fix sending fullscreen event to view
This commit is contained in:
Drew DeVault 2018-08-21 18:46:23 -04:00 committed by GitHub
commit ce12d912dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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