mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibGUI: Allow blocking CommandPalette/EmojiInput on a per Window basis
Instead of having to negate every focusable widget or textbox, let windows override all their widgets. These two Dialogs now block themselves and each other.
This commit is contained in:
parent
bfcb4d88cf
commit
f8e65d24cf
Notes:
sideshowbarker
2024-07-17 07:19:11 +09:00
Author: https://github.com/thankyouverycool
Commit: f8e65d24cf
Pull-request: https://github.com/SerenityOS/serenity/pull/15175
Reviewed-by: https://github.com/trflynn89 ✅
5 changed files with 20 additions and 3 deletions
|
@ -176,6 +176,8 @@ CommandPalette::CommandPalette(GUI::Window& parent_window, ScreenPosition screen
|
|||
: GUI::Dialog(&parent_window, screen_position)
|
||||
{
|
||||
set_frameless(true);
|
||||
set_blocks_command_palette(true);
|
||||
set_blocks_emoji_input(true);
|
||||
resize(450, 300);
|
||||
|
||||
collect_actions(parent_window);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue