From 4adb07443a4ba472bfa3ffebdb719949c72fa644 Mon Sep 17 00:00:00 2001 From: Victoria Brekenfeld Date: Tue, 13 Jan 2026 16:43:56 +0100 Subject: [PATCH] shell: Only clear tiling position on move --- src/shell/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shell/mod.rs b/src/shell/mod.rs index 47632dc0..e2809861 100644 --- a/src/shell/mod.rs +++ b/src/shell/mod.rs @@ -3134,8 +3134,8 @@ impl Shell { toplevel_enter_workspace(window, to); // we can't restore to a given position - if let WorkspaceRestoreData::Tiling(state) = &mut window_state { - state.take(); + if let WorkspaceRestoreData::Tiling(Some(state)) = &mut window_state { + state.state.take(); } // update fullscreen state to restore to the new workspace if let WorkspaceRestoreData::Fullscreen(Some(FullscreenRestoreData {