commit 47c20f8ea432a9648d69116a52d4e502c5c307f2
parent ce626a0708cf93c8bcb5c67230caf18d656b43de
Author: vilhalmer <vil@vil.lv>
Date: Mon, 9 Jul 2018 08:25:32 -0400
Regroup signal
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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