shell/workspace: Don't double-remove animating fullscreen surfaces
This commit is contained in:
parent
5f97691ce5
commit
b11456614f
1 changed files with 4 additions and 0 deletions
|
|
@ -1158,6 +1158,10 @@ impl Workspace {
|
|||
Option<Rectangle<i32, Local>>,
|
||||
)> {
|
||||
if let Some(surface) = self.fullscreen.as_mut() {
|
||||
if surface.ended_at.is_some() {
|
||||
return None;
|
||||
}
|
||||
|
||||
if surface.surface.alive() {
|
||||
surface.surface.set_fullscreen(false);
|
||||
if let Some(previous_geometry) = surface.previous_geometry.as_ref() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue