Feedback for fullscreen.

This commit is contained in:
Ryan Dwyer 2018-04-17 08:11:50 +10:00
parent 52420cc24d
commit bfd5834f4c
7 changed files with 13 additions and 41 deletions

View file

@ -138,7 +138,7 @@ void container_move_to(struct sway_container *container,
return;
}
if (container->sway_view->is_fullscreen) {
if (container->type == C_VIEW && container->sway_view->is_fullscreen) {
struct sway_container *old_workspace = container;
if (old_workspace->type != C_WORKSPACE) {
old_workspace = container_parent(old_workspace, C_WORKSPACE);