shell: Move space_for_handle into Workspaces

This commit is contained in:
Victoria Brekenfeld 2023-11-22 12:45:29 +01:00 • committed by Victoria Brekenfeld
parent c09a735289
commit 996b5a8227
4 changed files with 36 additions and 16 deletions

View file

@ -289,6 +289,7 @@ impl XdgShellHandler for State {
let new_workspace_handle = self
.common
.shell
.workspaces
.space_for_handle(&previous_workspace)
.is_some()
.then_some(previous_workspace)