fix: restore snapped windows as snapped after maximize/minimize
This commit is contained in:
parent
7c02df250e
commit
b5186ef21a
4 changed files with 42 additions and 7 deletions
|
|
@ -82,10 +82,11 @@ space_elements! {
|
|||
Stack=CosmicStack,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub struct MaximizedState {
|
||||
pub original_geometry: Rectangle<i32, Local>,
|
||||
pub original_layer: ManagedLayer,
|
||||
pub original_snapped: Option<TiledCorners>,
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue