diff options
author | Ken Moore <ken@ixsystems.com> | 2016-12-07 13:27:30 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2016-12-07 13:27:30 -0500 |
commit | 0f18a11a64a6a112b5bf9e612c086da882f3c65f (patch) | |
tree | 190599dbf19cbd0ea07e4d03f7b35f49e915b7e3 /src-qt5/desktop-utils/lumina-terminal | |
parent | Cleanup some more of the terminal functionality: (diff) | |
download | lumina-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.cpp | 5 |
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(); } // =================== |