aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-terminal
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2016-12-07 13:27:30 -0500
committerKen Moore <ken@ixsystems.com>2016-12-07 13:27:30 -0500
commit0f18a11a64a6a112b5bf9e612c086da882f3c65f (patch)
tree190599dbf19cbd0ea07e4d03f7b35f49e915b7e3 /src-qt5/desktop-utils/lumina-terminal
parentCleanup some more of the terminal functionality: (diff)
downloadlumina-0f18a11a64a6a112b5bf9e612c086da882f3c65f.tar.gz
lumina-0f18a11a64a6a112b5bf9e612c086da882f3c65f.tar.bz2
lumina-0f18a11a64a6a112b5bf9e612c086da882f3c65f.zip
Disable the auto-hide on activation event - something weird is going on (probably due to the special flags on the terminal window).
Diffstat (limited to 'src-qt5/desktop-utils/lumina-terminal')
-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