summaryrefslogtreecommitdiff
path: root/sway/commands/move.c
diff options
context:
space:
mode:
authorBrian Ashworth <[email protected]>2018-07-25 21:30:56 -0400
committerGitHub <[email protected]>2018-07-25 21:30:56 -0400
commit75ebeb4a167ca218af37fa9041223a6450dc20f4 (patch)
tree47456198945ceea9f105dc9122ebbdf2013872ce /sway/commands/move.c
parentc8dc9b3b3094c9b2778309855114b9495518c2d4 (diff)
parent868dcde14ef2116fcbd5c2c66badf2bcc514bba3 (diff)
Merge pull request #2356 from RyanDwyer/fullscreen-containers
Allow containers to be fullscreen
Diffstat (limited to 'sway/commands/move.c')
-rw-r--r--sway/commands/move.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/move.c b/sway/commands/move.c
index 1940043d..aede3d6c 100644
--- a/sway/commands/move.c
+++ b/sway/commands/move.c
@@ -196,7 +196,7 @@ static struct cmd_results *move_in_direction(struct sway_container *container,
"Cannot move workspaces in a direction");
}
if (container_is_floating(container)) {
- if (container->type == C_VIEW && container->sway_view->is_fullscreen) {
+ if (container->is_fullscreen) {
return cmd_results_new(CMD_FAILURE, "move",
"Cannot move fullscreen floating container");
}