shell: Only clear tiling position on move
This commit is contained in:
parent
0116bc0dc2
commit
4adb07443a
1 changed files with 2 additions and 2 deletions
|
|
@ -3134,8 +3134,8 @@ impl Shell {
|
||||||
toplevel_enter_workspace(window, to);
|
toplevel_enter_workspace(window, to);
|
||||||
|
|
||||||
// we can't restore to a given position
|
// we can't restore to a given position
|
||||||
if let WorkspaceRestoreData::Tiling(state) = &mut window_state {
|
if let WorkspaceRestoreData::Tiling(Some(state)) = &mut window_state {
|
||||||
state.take();
|
state.state.take();
|
||||||
}
|
}
|
||||||
// update fullscreen state to restore to the new workspace
|
// update fullscreen state to restore to the new workspace
|
||||||
if let WorkspaceRestoreData::Fullscreen(Some(FullscreenRestoreData {
|
if let WorkspaceRestoreData::Fullscreen(Some(FullscreenRestoreData {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue