mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:28:13 +00:00
WindowServer: Make menu windows inherently modal.
It was confusing that you could interact with other windows with a menu up.
This commit is contained in:
parent
2dbece54f5
commit
d5dec1922b
5 changed files with 27 additions and 6 deletions
|
@ -188,4 +188,5 @@ void WSMenu::popup(const Point& position)
|
|||
auto& window = ensure_menu_window();
|
||||
window.move_to(position);
|
||||
window.set_visible(true);
|
||||
WSWindowManager::the().set_current_menu(this);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue