Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
toplevel-management: Move window, not whole stack
If the window is part of a stack, remove it then map it outside of the stack, before calling `Shell::move_window.` Somewhat similar to the code in `Shell::move_request`. It would be more elegant if `move_window` handled this in some way, but I can't think of a way to change the API there that would be better than this. (Perhaps some of the naming of methods could also be updated, given "window" in functions like this means a `CosmicMapped`.) Protocol support for moving workspaces would also be useful, but should involve a new protocol object representing the stack. Fixes pop-os/cosmic-workspaces-epoch#41.
- Loading branch information