From 8ce57f0a77f50315c83bae305e78091cc40175c2 Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Tue, 22 Jan 2019 03:47:32 -0500 Subject: root_scratchpad_remove_container: do not show This removes the call to `root_scratchpad_show` from `root_scratchpad_remove_container` and places it in the `cmd_move_container`. This also moved the IPC `window::move` event to `cmd_scratchpad`. --- sway/commands/move.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sway/commands/move.c') diff --git a/sway/commands/move.c b/sway/commands/move.c index b22bb056..acb5f44f 100644 --- a/sway/commands/move.c +++ b/sway/commands/move.c @@ -515,6 +515,7 @@ static struct cmd_results *cmd_move_container(int argc, char **argv) { // move container if (container->scratchpad) { root_scratchpad_remove_container(container); + root_scratchpad_show(container); } switch (destination->type) { case N_WORKSPACE: -- cgit v1.2.3-54-g00ecf