Skip to content

Commit 8ee727f

Browse files
committed
Revert "Fix AvaloniaUI#9565"
This reverts commit 5fa4da3.
1 parent 8546725 commit 8ee727f

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

native/Avalonia.Native/src/OSX/WindowImpl.mm

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,7 @@
136136

137137
for(auto iterator = _children.begin(); iterator != _children.end(); iterator++)
138138
{
139-
auto window = (*iterator)->Window;
140-
141-
// #9565: Only bring window to front if it's on the currently active space
142-
if ([window isOnActiveSpace])
143-
(*iterator)->BringToFront();
139+
(*iterator)->BringToFront();
144140
}
145141
}
146142
}
@@ -164,9 +160,6 @@
164160

165161
void WindowImpl::EndStateTransition() {
166162
_transitioningWindowState = false;
167-
168-
// Ensure correct order of child windows after fullscreen transition.
169-
BringToFront();
170163
}
171164

172165
SystemDecorations WindowImpl::Decorations() {

0 commit comments

Comments
 (0)