mirror of
https://github.com/RGBCube/serenity
synced 2025-07-08 23:07:35 +00:00
LibGUI+WindowServer+Apps: Replace Accessory Windows
with the CaptureInput WindowMode. This mode will serve the same function as accessories: redirecting input while allowing parent windows to remain active.
This commit is contained in:
parent
0d4fd4e2a6
commit
4c7f95e2f8
13 changed files with 23 additions and 91 deletions
|
@ -731,7 +731,7 @@ bool Widget::is_focused() const
|
|||
auto* win = window();
|
||||
if (!win)
|
||||
return false;
|
||||
// Accessory windows are not active despite being the active
|
||||
// Capturing modals are not active despite being the active
|
||||
// input window. So we can have focus if either we're the active
|
||||
// input window or we're the active window
|
||||
if (win->is_active_input() || win->is_active())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue