diff options
author | Ken Moore <ken@ixsystems.com> | 2016-12-07 13:12:27 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2016-12-07 13:12:27 -0500 |
commit | e4f0a0c307e7b3eb1ec820777a1d15e38826d8b0 (patch) | |
tree | 8625b3bbbd587ce8dcd576b6aeaec979ce3a4741 /src-qt5/desktop-utils/lumina-terminal/TrayIcon.cpp | |
parent | Add some more filtering for mouse devices: (diff) | |
download | lumina-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.cpp | 1 |
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){ |