shell: Allow querying current vs pending state
This commit is contained in:
parent
8f20cf5ece
commit
be1b4ceb10
8 changed files with 111 additions and 69 deletions
|
|
@ -158,7 +158,7 @@ impl FloatingLayout {
|
|||
|
||||
pub fn unmap(&mut self, window: &CosmicMapped) -> bool {
|
||||
#[allow(irrefutable_let_patterns)]
|
||||
let is_maximized = window.is_maximized();
|
||||
let is_maximized = window.is_maximized(true);
|
||||
|
||||
if !is_maximized {
|
||||
if let Some(location) = self.space.element_location(window) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue