mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 09:47:35 +00:00
WindowServer: Let Windows handle InputLeft events when blocked
Fixes windows not updating on active input changes after being blocked
This commit is contained in:
parent
51006930da
commit
72ae082ca8
1 changed files with 2 additions and 3 deletions
|
@ -443,9 +443,8 @@ void Window::event(Core::Event& event)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (blocking_modal_window()) {
|
if (blocking_modal_window()) {
|
||||||
// We still want to handle the WindowDeactivated event below when a new modal is
|
// Allow windows to process their inactivity after being blocked
|
||||||
// created to notify its parent window, despite it being "blocked by modal window".
|
if (event.type() != Event::WindowDeactivated && event.type() != Event::WindowInputLeft)
|
||||||
if (event.type() != Event::WindowDeactivated)
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue