diff options
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r-- | sway/tree/container.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c index 7068e166..df0a3fea 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c | |||
@@ -900,6 +900,9 @@ void container_floating_move_to(struct sway_container *con, | |||
900 | return; | 900 | return; |
901 | } | 901 | } |
902 | container_floating_translate(con, lx - con->x, ly - con->y); | 902 | container_floating_translate(con, lx - con->x, ly - con->y); |
903 | if (container_is_scratchpad_hidden(con)) { | ||
904 | return; | ||
905 | } | ||
903 | struct sway_workspace *old_workspace = con->workspace; | 906 | struct sway_workspace *old_workspace = con->workspace; |
904 | struct sway_output *new_output = container_floating_find_output(con); | 907 | struct sway_output *new_output = container_floating_find_output(con); |
905 | if (!sway_assert(new_output, "Unable to find any output")) { | 908 | if (!sway_assert(new_output, "Unable to find any output")) { |