Fix sending fullscreen event to view

Fixes #2504
This commit is contained in:
Ryan Dwyer 2018-08-22 08:23:29 +10:00
parent 395ff7a541
commit e81c26fab9

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;