summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/EmojiInputDialog.cpp
diff options
context:
space:
mode:
authorthankyouverycool <66646555+thankyouverycool@users.noreply.github.com>2022-09-09 07:21:31 -0400
committerTim Flynn <trflynn89@pm.me>2022-09-09 11:27:38 -0400
commitf8e65d24cf2b0dc83ff6ec47e33f1a4ffd4b56db (patch)
tree50dc23cf7a6a5b1253da6ff82049faf622ed022f /Userland/Libraries/LibGUI/EmojiInputDialog.cpp
parentbfcb4d88cfe1c01dd7e7ce28ea7c4bdeedaef73c (diff)
downloadserenity-f8e65d24cf2b0dc83ff6ec47e33f1a4ffd4b56db.zip
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.
Diffstat (limited to 'Userland/Libraries/LibGUI/EmojiInputDialog.cpp')
-rw-r--r--Userland/Libraries/LibGUI/EmojiInputDialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/EmojiInputDialog.cpp b/Userland/Libraries/LibGUI/EmojiInputDialog.cpp
index f9981b7026..62d2c03741 100644
--- a/Userland/Libraries/LibGUI/EmojiInputDialog.cpp
+++ b/Userland/Libraries/LibGUI/EmojiInputDialog.cpp
@@ -53,6 +53,8 @@ EmojiInputDialog::EmojiInputDialog(Window* parent_window)
VERIFY_NOT_REACHED();
set_frameless(true);
+ set_blocks_command_palette(true);
+ set_blocks_emoji_input(true);
resize(400, 300);
auto& scrollable_container = *main_widget.find_descendant_of_type_named<GUI::ScrollableContainerWidget>("scrollable_container"sv);