aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-terminal/TermWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/desktop-utils/lumina-terminal/TermWindow.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-terminal/TermWindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src-qt5/desktop-utils/lumina-terminal/TermWindow.cpp b/src-qt5/desktop-utils/lumina-terminal/TermWindow.cpp
index 783fc482..8ff3ecd1 100644
--- a/src-qt5/desktop-utils/lumina-terminal/TermWindow.cpp
+++ b/src-qt5/desktop-utils/lumina-terminal/TermWindow.cpp
@@ -286,8 +286,9 @@ void TermWindow::activeStatusChanged(){
//Note: Qt 5.6.1 returns the opposite value for isActiveWindow() (12/7/16)
//qDebug() << "active status changed:" << this->isActiveWindow() << (this == QApplication::activeWindow());
if(animRunning>=0){ return; } //ignore this event - already changing
- if(!this->isActiveWindow() && !this->isVisible()){ ShowWindow(); }
- else if(this->isActiveWindow() && this->isVisible()){ HideWindow(); }
+ //if(!this->isActiveWindow() && !this->isVisible()){ ShowWindow(); }
+ //else if(this->isActiveWindow() this->isVisible()){ HideWindow(); }
+ //ReShowWindow();
}
// ===================
bgstack15