fix: send pending activated instead of current activated to toplevel_info

This commit is contained in:
Ryan Brue 2024-04-11 09:26:06 -05:00 committed by Victoria Brekenfeld
parent 11a8265145
commit 895ea6aec1

View file

@ -31,7 +31,7 @@ impl Window for CosmicSurface {
}
fn is_activated(&self) -> bool {
!self.is_minimized() && CosmicSurface::is_activated(self, false)
!self.is_minimized() && CosmicSurface::is_activated(self, true)
}
fn is_maximized(&self) -> bool {