aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/container.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r--sway/tree/container.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index 6620921f..b89047a7 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -880,6 +880,9 @@ void container_floating_move_to(struct sway_container *con,
880 return; 880 return;
881 } 881 }
882 container_floating_translate(con, lx - con->x, ly - con->y); 882 container_floating_translate(con, lx - con->x, ly - con->y);
883 if (container_is_scratchpad_hidden(con)) {
884 return;
885 }
883 struct sway_workspace *old_workspace = con->workspace; 886 struct sway_workspace *old_workspace = con->workspace;
884 struct sway_output *new_output = container_floating_find_output(con); 887 struct sway_output *new_output = container_floating_find_output(con);
885 if (!sway_assert(new_output, "Unable to find any output")) { 888 if (!sway_assert(new_output, "Unable to find any output")) {