diff options
Diffstat (limited to 'sway/layout.c')
-rw-r--r-- | sway/layout.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/layout.c b/sway/layout.c index 2e0bf0bb..d32b4139 100644 --- a/sway/layout.c +++ b/sway/layout.c | |||
@@ -91,6 +91,7 @@ void add_floating(swayc_t *ws, swayc_t *child) { | |||
91 | if (!ws->focused) { | 91 | if (!ws->focused) { |
92 | ws->focused = child; | 92 | ws->focused = child; |
93 | } | 93 | } |
94 | ipc_event_window(child, "floating"); | ||
94 | } | 95 | } |
95 | 96 | ||
96 | swayc_t *add_sibling(swayc_t *fixed, swayc_t *active) { | 97 | swayc_t *add_sibling(swayc_t *fixed, swayc_t *active) { |
@@ -305,6 +306,7 @@ void move_container(swayc_t *container, enum movement_direction dir) { | |||
305 | parent = child->parent; | 306 | parent = child->parent; |
306 | } | 307 | } |
307 | arrange_windows(parent->parent, -1, -1); | 308 | arrange_windows(parent->parent, -1, -1); |
309 | ipc_event_window(container, "move"); | ||
308 | set_focused_container_for(parent->parent, container); | 310 | set_focused_container_for(parent->parent, container); |
309 | } | 311 | } |
310 | 312 | ||