diff options
author | 2018-07-25 20:56:23 +1000 | |
---|---|---|
committer | 2018-07-26 08:27:07 +1000 | |
commit | 27a20a488465468511de9b2307941ac1bc4db8bf (patch) | |
tree | c5c1aff483cb089870ffebec00869347eec29f4c /sway/commands/move.c | |
parent | Merge pull request #2330 from progandy/set-modifier-locks (diff) | |
download | sway-27a20a488465468511de9b2307941ac1bc4db8bf.tar.gz sway-27a20a488465468511de9b2307941ac1bc4db8bf.tar.zst sway-27a20a488465468511de9b2307941ac1bc4db8bf.zip |
Allow containers to be fullscreen
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 | } |