shell: Ignore fullscreen requests to minimized windows
This commit is contained in:
parent
33044d9efb
commit
9d3678e908
1 changed files with 5 additions and 0 deletions
|
|
@ -4452,6 +4452,11 @@ impl Shell {
|
|||
Some(from),
|
||||
)
|
||||
} else if let Some(workspace) = self.space_for_mut(&mapped) {
|
||||
if mapped.is_minimized() {
|
||||
// TODO: Rewrite the `MinimizedWindow` to restore to fullscreen
|
||||
return None;
|
||||
}
|
||||
|
||||
let from = workspace.element_geometry(&mapped).unwrap();
|
||||
let (surface, state) = workspace.unmap_surface(surface).unwrap();
|
||||
window = surface;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue