Skip to content

Commit

Permalink
Revert "Fix AvaloniaUI#9565"
Browse files Browse the repository at this point in the history
This reverts commit 5fa4da3.
  • Loading branch information
Dan Walmsley committed Nov 30, 2022
1 parent 8546725 commit 8ee727f
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions native/Avalonia.Native/src/OSX/WindowImpl.mm
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,7 @@

for(auto iterator = _children.begin(); iterator != _children.end(); iterator++)
{
auto window = (*iterator)->Window;

// #9565: Only bring window to front if it's on the currently active space
if ([window isOnActiveSpace])
(*iterator)->BringToFront();
(*iterator)->BringToFront();
}
}
}
Expand All @@ -164,9 +160,6 @@

void WindowImpl::EndStateTransition() {
_transitioningWindowState = false;

// Ensure correct order of child windows after fullscreen transition.
BringToFront();
}

SystemDecorations WindowImpl::Decorations() {
Expand Down

0 comments on commit 8ee727f

Please sign in to comment.