aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/move.c
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-01-22 03:47:32 -0500
committerLibravatar emersion <contact@emersion.fr>2019-01-22 13:13:34 +0100
commit8ce57f0a77f50315c83bae305e78091cc40175c2 (patch)
tree1d279b36e7c3a16defd1e3ec4be2335f0eb0982f /sway/commands/move.c
parentutil.c: remove numlen function (diff)
downloadsway-8ce57f0a77f50315c83bae305e78091cc40175c2.tar.gz
sway-8ce57f0a77f50315c83bae305e78091cc40175c2.tar.zst
sway-8ce57f0a77f50315c83bae305e78091cc40175c2.zip
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) {
515 // move container 515 // move container
516 if (container->scratchpad) { 516 if (container->scratchpad) {
517 root_scratchpad_remove_container(container); 517 root_scratchpad_remove_container(container);
518 root_scratchpad_show(container);
518 } 519 }
519 switch (destination->type) { 520 switch (destination->type) {
520 case N_WORKSPACE: 521 case N_WORKSPACE: