summaryrefslogtreecommitdiff
path: root/sway/commands/move.c
diff options
context:
space:
mode:
authorBrian Ashworth <[email protected]>2019-01-22 03:47:32 -0500
committeremersion <[email protected]>2019-01-22 13:13:34 +0100
commit8ce57f0a77f50315c83bae305e78091cc40175c2 (patch)
tree1d279b36e7c3a16defd1e3ec4be2335f0eb0982f /sway/commands/move.c
parentde9a357de84da4436b263ff6a969eb4ac753af0d (diff)
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`.
Diffstat (limited to 'sway/commands/move.c')
-rw-r--r--sway/commands/move.c1
1 files changed, 1 insertions, 0 deletions
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: