ClipboardHistory: Bring window to front when applet is clicked

Fixes #4031.
This commit is contained in:
Andreas Kling 2020-11-11 20:31:35 +01:00
parent 5570b16f6f
commit 23a5a484d5
Notes: sideshowbarker 2024-07-19 01:26:30 +09:00

View file

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