diff options
Diffstat (limited to 'sway/commands/move.c')
-rw-r--r-- | sway/commands/move.c | 2 |
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, | |||
196 | "Cannot move workspaces in a direction"); | 196 | "Cannot move workspaces in a direction"); |
197 | } | 197 | } |
198 | if (container_is_floating(container)) { | 198 | if (container_is_floating(container)) { |
199 | if (container->type == C_VIEW && container->sway_view->is_fullscreen) { | 199 | if (container->is_fullscreen) { |
200 | return cmd_results_new(CMD_FAILURE, "move", | 200 | return cmd_results_new(CMD_FAILURE, "move", |
201 | "Cannot move fullscreen floating container"); | 201 | "Cannot move fullscreen floating container"); |
202 | } | 202 | } |