This commit is contained in:
Gaspar Capello 2025-09-15 10:32:05 +02:00 committed by GitHub
commit 49540d7e0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -1457,6 +1457,7 @@ void Manager::_openWindow(Window* window, bool center)
spec.minimizable(window->isDesktop());
spec.borderless(!window->isDesktop());
spec.transparent(window->isTransparent());
spec.modal(window->isForeground() || window->isOnTop());
if (!window->isDesktop()) {
spec.parent(parentDisplay->nativeWindow());