mirror of
https://github.com/swaywm/sway.git
synced 2025-11-09 13:29:49 -05:00
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`.
This commit is contained in:
parent
de9a357de8
commit
8ce57f0a77
3 changed files with 5 additions and 7 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue