aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-terminal/TrayIcon.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2016-12-07 13:12:27 -0500
committerKen Moore <ken@ixsystems.com>2016-12-07 13:12:27 -0500
commite4f0a0c307e7b3eb1ec820777a1d15e38826d8b0 (patch)
tree8625b3bbbd587ce8dcd576b6aeaec979ce3a4741 /src-qt5/desktop-utils/lumina-terminal/TrayIcon.cpp
parentAdd some more filtering for mouse devices: (diff)
downloadlumina-e4f0a0c307e7b3eb1ec820777a1d15e38826d8b0.tar.gz
lumina-e4f0a0c307e7b3eb1ec820777a1d15e38826d8b0.tar.bz2
lumina-e4f0a0c307e7b3eb1ec820777a1d15e38826d8b0.zip
Cleanup some more of the terminal functionality:
1) Auto-hide the window when it loses focus 2) Give the terminal widget focus when it is clicked on 3) When starting the PTY do one interaction with it programmatically to ensure it is *really* ready before the user starts using it.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-terminal/TrayIcon.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-terminal/TrayIcon.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-terminal/TrayIcon.cpp b/src-qt5/desktop-utils/lumina-terminal/TrayIcon.cpp
index 52e15314..5198146e 100644
--- a/src-qt5/desktop-utils/lumina-terminal/TrayIcon.cpp
+++ b/src-qt5/desktop-utils/lumina-terminal/TrayIcon.cpp
@@ -145,6 +145,7 @@ void TrayIcon::updateScreenMenu(){
}
}
ScreenMenu->setVisible(!ScreenMenu->isEmpty());
+ ScreenMenu->setEnabled(!ScreenMenu->isEmpty());
}
void TrayIcon::TrayActivated(QSystemTrayIcon::ActivationReason reason){
bgstack15