shell/element: Drop minimize/mapping X11 workaround
This commit is contained in:
parent
9defbe7b13
commit
6e4551a200
1 changed files with 0 additions and 4 deletions
|
|
@ -453,10 +453,6 @@ impl CosmicSurface {
|
||||||
.store(minimized, Ordering::SeqCst);
|
.store(minimized, Ordering::SeqCst);
|
||||||
if let WindowSurface::X11(surface) = self.0.underlying_surface() {
|
if let WindowSurface::X11(surface) = self.0.underlying_surface() {
|
||||||
let _ = surface.set_hidden(minimized);
|
let _ = surface.set_hidden(minimized);
|
||||||
if !minimized && surface.is_fullscreen() {
|
|
||||||
let _ = surface.set_mapped(false);
|
|
||||||
let _ = surface.set_mapped(true);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue