Skip to content

Commit

Permalink
fix: send pending activated instead of current activated to toplevel_…
Browse files Browse the repository at this point in the history
…info
  • Loading branch information
ryanabx authored and Drakulix committed Apr 11, 2024
1 parent 11a8265 commit 895ea6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wayland/handlers/toplevel_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 895ea6a

Please sign in to comment.