shell: Handle unmapped windows correctly
This commit is contained in:
parent
aaa40df963
commit
973cfed87b
8 changed files with 175 additions and 51 deletions
|
|
@ -232,6 +232,10 @@ impl MoveGrabState {
|
|||
.collect()
|
||||
}
|
||||
|
||||
pub fn element(&self) -> CosmicMapped {
|
||||
self.window.clone()
|
||||
}
|
||||
|
||||
pub fn window(&self) -> CosmicSurface {
|
||||
self.window.active_window()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue