From e4f0a0c307e7b3eb1ec820777a1d15e38826d8b0 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 7 Dec 2016 13:12:27 -0500 Subject: 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. --- src-qt5/desktop-utils/lumina-terminal/TermWindow.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src-qt5/desktop-utils/lumina-terminal/TermWindow.h') diff --git a/src-qt5/desktop-utils/lumina-terminal/TermWindow.h b/src-qt5/desktop-utils/lumina-terminal/TermWindow.h index d68c5457..d21fe502 100644 --- a/src-qt5/desktop-utils/lumina-terminal/TermWindow.h +++ b/src-qt5/desktop-utils/lumina-terminal/TermWindow.h @@ -56,7 +56,9 @@ private slots: void focusOnWidget(); //Animation finishing void AnimFinished(); - + //Window focus/active status changed + void activeStatusChanged(); + protected: void mouseMoveEvent(QMouseEvent*); -- cgit