diff options
author | 2018-04-07 18:01:18 -0400 | |
---|---|---|
committer | 2018-04-07 18:01:18 -0400 | |
commit | 9db859585e79d468ff79f41db6bc0950fb285a5a (patch) | |
tree | 69aea42c2203468654c95ec93c59268520acc2d1 /sway | |
parent | implement ipc focus stack (diff) | |
download | sway-9db859585e79d468ff79f41db6bc0950fb285a5a.tar.gz sway-9db859585e79d468ff79f41db6bc0950fb285a5a.tar.zst sway-9db859585e79d468ff79f41db6bc0950fb285a5a.zip |
container_create_notify on split
Diffstat (limited to 'sway')
-rw-r--r-- | sway/commands/split.c | 1 | ||||
-rw-r--r-- | sway/tree/layout.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sway/commands/split.c b/sway/commands/split.c index ab8565a9..130ed31f 100644 --- a/sway/commands/split.c +++ b/sway/commands/split.c | |||
@@ -11,6 +11,7 @@ | |||
11 | static struct cmd_results *do_split(int layout) { | 11 | static struct cmd_results *do_split(int layout) { |
12 | struct sway_container *con = config->handler_context.current_container; | 12 | struct sway_container *con = config->handler_context.current_container; |
13 | struct sway_container *parent = container_split(con, layout); | 13 | struct sway_container *parent = container_split(con, layout); |
14 | container_create_notify(parent); | ||
14 | arrange_windows(parent, -1, -1); | 15 | arrange_windows(parent, -1, -1); |
15 | 16 | ||
16 | return cmd_results_new(CMD_SUCCESS, NULL, NULL); | 17 | return cmd_results_new(CMD_SUCCESS, NULL, NULL); |
diff --git a/sway/tree/layout.c b/sway/tree/layout.c index ce4457b1..ae76ca26 100644 --- a/sway/tree/layout.c +++ b/sway/tree/layout.c | |||
@@ -251,6 +251,7 @@ static void workspace_rejigger(struct sway_container *ws, | |||
251 | container_flatten(ws); | 251 | container_flatten(ws); |
252 | container_reap_empty_recursive(original_parent); | 252 | container_reap_empty_recursive(original_parent); |
253 | wl_signal_emit(&child->events.reparent, original_parent); | 253 | wl_signal_emit(&child->events.reparent, original_parent); |
254 | container_create_notify(new_parent); | ||
254 | arrange_windows(ws, -1, -1); | 255 | arrange_windows(ws, -1, -1); |
255 | } | 256 | } |
256 | 257 | ||