From 93e8297b6146bb76391ea7d3f41b3c0ed37708ca Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Sat, 5 Aug 2017 21:34:24 +0300 Subject: [PATCH] The emoji panel shouldn't steal focus from other windows --- src/EmojiPanel.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/EmojiPanel.cc b/src/EmojiPanel.cc index 53b3f8d1..14db6bb3 100644 --- a/src/EmojiPanel.cc +++ b/src/EmojiPanel.cc @@ -42,6 +42,7 @@ EmojiPanel::EmojiPanel(QWidget *parent) "QScrollBar::sub-line:vertical { border: none; background: none; }"); setAttribute(Qt::WA_TranslucentBackground, true); + setAttribute(Qt::WA_ShowWithoutActivating, true); setWindowFlags(Qt::FramelessWindowHint | Qt::ToolTip); auto mainWidget = new QWidget(this);