stacking: Correctly restore decoration state

This commit is contained in:
Victoria Brekenfeld 2023-06-14 16:43:13 +02:00
parent 5cdf614692
commit 5884e287a5
4 changed files with 47 additions and 14 deletions

View file

@ -505,6 +505,8 @@ impl CosmicMapped {
outputs: impl Iterator<Item = (&'a Output, Rectangle<i32, Logical>)>,
) {
let handle = self.loop_handle();
surface.try_force_undecorated(false);
surface.set_tiled(false);
let window = CosmicWindow::new(surface, handle);
if let Some(geo) = self.last_geometry.lock().unwrap().clone() {