diff options
Diffstat (limited to 'sway/tree')
-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 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, return; } container_floating_translate(con, lx - con->x, ly - con->y); + if (container_is_scratchpad_hidden(con)) { + return; + } struct sway_workspace *old_workspace = con->workspace; struct sway_output *new_output = container_floating_find_output(con); if (!sway_assert(new_output, "Unable to find any output")) { |