aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-terminal/TerminalWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/desktop-utils/lumina-terminal/TerminalWidget.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-terminal/TerminalWidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-terminal/TerminalWidget.cpp b/src-qt5/desktop-utils/lumina-terminal/TerminalWidget.cpp
index d9099452..6342be59 100644
--- a/src-qt5/desktop-utils/lumina-terminal/TerminalWidget.cpp
+++ b/src-qt5/desktop-utils/lumina-terminal/TerminalWidget.cpp
@@ -471,6 +471,7 @@ void TerminalWidget::keyPressEvent(QKeyEvent *ev){
void TerminalWidget::mousePressEvent(QMouseEvent *ev){
this->setFocus();
+ this->activateWindow();
if(ev->button()==Qt::RightButton){
QTextEdit::mousePressEvent(ev);
}else if(ev->button()==Qt::MiddleButton){
bgstack15