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:
thankyouverycool 2022-09-09 07:21:31 -04:00 committed by Tim Flynn
commit f8e65d24cf
Notes: sideshowbarker 2024-07-17 07:19:11 +09:00
5 changed files with 20 additions and 3 deletions

View file

@ -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);