mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Blocks all background webview interactions when a dialog is open (#35671)
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
This commit is contained in:
parent
b4e2037dbe
commit
56fbfc9d27
3 changed files with 26 additions and 8 deletions
|
@ -364,7 +364,7 @@ impl ApplicationHandler<WakerEvent> for App {
|
|||
},
|
||||
ref event => {
|
||||
let response =
|
||||
minibrowser.on_window_event(window.winit_window().unwrap(), event);
|
||||
minibrowser.on_window_event(window.winit_window().unwrap(), state, event);
|
||||
// Update minibrowser if there's resize event to sync up with window.
|
||||
if let WindowEvent::Resized(_) = event {
|
||||
minibrowser.update(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue