diff options
Diffstat (limited to 'sway/tree/layout.c')
-rw-r--r-- | sway/tree/layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/layout.c b/sway/tree/layout.c index a4faaeb4..fce8ba42 100644 --- a/sway/tree/layout.c +++ b/sway/tree/layout.c @@ -180,8 +180,8 @@ void container_move_to(struct sway_container *container, new_parent = destination; container_add_child(destination, container); } - wl_signal_emit(&container->events.reparent, old_parent); + if (container->type == C_WORKSPACE) { // If moving a workspace to a new output, maybe create a new workspace // on the previous output |