aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/layout.c
diff options
context:
space:
mode:
authorLibravatar vilhalmer <vil@vil.lv>2018-07-09 08:25:32 -0400
committerLibravatar vilhalmer <vil@vil.lv>2018-07-09 08:25:32 -0400
commit47c20f8ea432a9648d69116a52d4e502c5c307f2 (patch)
tree573563d28316c1382c8f29400dfcab12e6da400a /sway/tree/layout.c
parentReplace empty workspace with moved workspace (diff)
downloadsway-47c20f8ea432a9648d69116a52d4e502c5c307f2.tar.gz
sway-47c20f8ea432a9648d69116a52d4e502c5c307f2.tar.zst
sway-47c20f8ea432a9648d69116a52d4e502c5c307f2.zip
Regroup signal
Diffstat (limited to 'sway/tree/layout.c')
-rw-r--r--sway/tree/layout.c2
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,
180 new_parent = destination; 180 new_parent = destination;
181 container_add_child(destination, container); 181 container_add_child(destination, container);
182 } 182 }
183
184 wl_signal_emit(&container->events.reparent, old_parent); 183 wl_signal_emit(&container->events.reparent, old_parent);
184
185 if (container->type == C_WORKSPACE) { 185 if (container->type == C_WORKSPACE) {
186 // If moving a workspace to a new output, maybe create a new workspace 186 // If moving a workspace to a new output, maybe create a new workspace
187 // on the previous output 187 // on the previous output