summaryrefslogtreecommitdiff
path: root/sway/tree/layout.c
diff options
context:
space:
mode:
authorRyan Dwyer <[email protected]>2018-04-17 08:11:50 +1000
committerRyan Dwyer <[email protected]>2018-04-17 08:11:50 +1000
commitbfd5834f4c1046c234ceaae212e65e045cd51460 (patch)
treefc789c66bd9c20bfc30307c3f675d9c4079b5c4c /sway/tree/layout.c
parent52420cc24d61db8d22cf0d391f1f84b37bf087d5 (diff)
Feedback for fullscreen.
Diffstat (limited to 'sway/tree/layout.c')
-rw-r--r--sway/tree/layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/layout.c b/sway/tree/layout.c
index ae6db454..ad097f2e 100644
--- a/sway/tree/layout.c
+++ b/sway/tree/layout.c
@@ -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);