summaryrefslogtreecommitdiff
path: root/MenuApplets
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-11-11 20:31:35 +0100
committerAndreas Kling <kling@serenityos.org>2020-11-11 20:31:35 +0100
commit23a5a484d56ed3eba318fa8d5d6c9a939e6181f0 (patch)
tree857425d9e9b722628b2a1c2b74fa7a6dce97ab5d /MenuApplets
parent5570b16f6fc4a385524103434de2491cb4804ea3 (diff)
downloadserenity-23a5a484d56ed3eba318fa8d5d6c9a939e6181f0.zip
ClipboardHistory: Bring window to front when applet is clicked
Fixes #4031.
Diffstat (limited to 'MenuApplets')
-rw-r--r--MenuApplets/ClipboardHistory/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/MenuApplets/ClipboardHistory/main.cpp b/MenuApplets/ClipboardHistory/main.cpp
index 4d66e85365..016be66c0b 100644
--- a/MenuApplets/ClipboardHistory/main.cpp
+++ b/MenuApplets/ClipboardHistory/main.cpp
@@ -81,6 +81,7 @@ int main(int argc, char* argv[])
icon.set_fill_with_background_color(true);
icon.on_click = [&main_window = *main_window] {
main_window.show();
+ main_window.move_to_front();
};
applet_window->resize(16, 16);
applet_window->show();