xwm: Reflect sticky state

This commit is contained in:
Victoria Brekenfeld 2026-05-18 17:28:55 +02:00 committed by Victoria Brekenfeld
parent 85630236fa
commit 61149d95d0

View file

@ -470,6 +470,9 @@ impl CosmicSurface {
.get_or_insert_threadsafe(Sticky::default)
.0
.store(sticky, Ordering::SeqCst);
if let WindowSurface::X11(surface) = self.0.underlying_surface() {
let _ = surface.set_sticky(sticky);
}
}
pub fn set_suspended(&self, suspended: bool) {