1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:17:35 +00:00

WindowServer: Restore modal chains from the Taskbar and Switcher

And only show modeless windows in WindowSwitcher.
This commit is contained in:
thankyouverycool 2022-08-22 18:18:56 -04:00 committed by Andreas Kling
parent 5a0472d8d2
commit 6f316d59f4
4 changed files with 14 additions and 5 deletions

View file

@ -63,8 +63,7 @@ void WMConnectionFromClient::set_active_window(i32 client_id, i32 window_id)
return;
}
auto& window = *(*it).value;
WindowManager::the().minimize_windows(window, false);
WindowManager::the().move_to_front_and_make_active(window);
WindowManager::the().restore_modal_chain(window);
}
void WMConnectionFromClient::popup_window_menu(i32 client_id, i32 window_id, Gfx::IntPoint const& screen_position)