x11: stop remapping minimized windows on restore
The remap-on-restore workaround was introduced in 3b9d0ce
("HACK: Remap minimized X11 windows on restore"), but forcing an
unmap/map cycle on unminimize now regresses Steam: restoring a
non-fullscreen window can leave the main surface black while input
and tooltips still work.
Keep the existing X11 hidden-state handling and only drop the
forced remap cycle. This preserves the newer minimize/unminimize
signaling for X11 clients while avoiding an extra restore-time
remap.
This commit is contained in:
parent
98cca4f3b7
commit
1dc9c53a41
1 changed files with 0 additions and 4 deletions
|
|
@ -429,10 +429,6 @@ impl CosmicSurface {
|
|||
.store(minimized, Ordering::SeqCst);
|
||||
if let WindowSurface::X11(surface) = self.0.underlying_surface() {
|
||||
let _ = surface.set_hidden(minimized);
|
||||
if !minimized {
|
||||
let _ = surface.set_mapped(false);
|
||||
let _ = surface.set_mapped(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue