mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:57:44 +00:00
FileSystemAccessServer: Set dummy child to WindowMode::Passive
so Dialogs can join the modal chain of the window parenting them. Fixes apps that use FileSystemAccess to sandbox FilePicker not respecting its blocking effect.
This commit is contained in:
parent
aa045a9fdf
commit
7b2becad52
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ RefPtr<GUI::Window> ConnectionFromClient::create_dummy_child_window(i32 window_s
|
|||
auto window = GUI::Window::construct();
|
||||
window->set_opacity(0);
|
||||
window->set_frameless(true);
|
||||
window->set_window_mode(GUI::WindowMode::Passive);
|
||||
auto rect = GUI::ConnectionToWindowServer::the().get_window_rect_from_client(window_server_client_id, parent_window_id);
|
||||
window->set_rect(rect);
|
||||
window->show();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue