mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-07 05:19:02 +01:00
Cocoa: set Window Level to normal in DestroyHandle
avoid still appearing on the screen before the top window is actually destroyed
This commit is contained in:
parent
b65ca17223
commit
762c5a45f0
@ -852,6 +852,7 @@ begin
|
||||
// it should be removed from "parentWindow"
|
||||
if Assigned(win.parentWindow) then
|
||||
win.parentWindow.removeChildWindow(win);
|
||||
win.setLevel(NSNormalWindowLevel);
|
||||
win.close;
|
||||
win.setContentView(nil);
|
||||
cb := win.lclGetCallback();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user