Skip to content

Commit

Permalink
fix: Ensure GTK IsVisible is matching minimized/non-minimized window …
Browse files Browse the repository at this point in the history
…state
  • Loading branch information
MartinZikmund committed Apr 22, 2024
1 parent 267be8c commit 1cbd3c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Uno.UI.Runtime.Skia.Gtk/UI/Controls/GtkWindowWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,11 @@ private void ProcessWindowStateChanged(Gdk.WindowState newState, Gdk.WindowState
{
if (isVisible)
{
winUIApplication?.RaiseLeavingBackground(() => Visible = _gtkWindow.IsVisible);
winUIApplication?.RaiseLeavingBackground(() => Visible = isVisible);
}
else
{
Visible = _gtkWindow.IsVisible;
Visible = isVisible;
winUIApplication?.RaiseEnteredBackground(null);
}
}
Expand Down

0 comments on commit 1cbd3c3

Please sign in to comment.