From 88fbf7e81a6ab317262bd97875a0296f59287586 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 26 Mar 2020 15:10:12 +0900 Subject: 1) Additional work on tq app -> tde app translation. 2) Make sure to exit app after restore if no app window can be grabbed 3) Save state only for known applications (app with empty name will not be saved and restored) Signed-off-by: Michele Calgaro --- src/tdedocker.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/tdedocker.h') diff --git a/src/tdedocker.h b/src/tdedocker.h index c445a36..a733f75 100644 --- a/src/tdedocker.h +++ b/src/tdedocker.h @@ -22,6 +22,7 @@ #ifndef _TDEDOCKER_H #define _TDEDOCKER_H +#include #include #include @@ -41,12 +42,15 @@ public: protected: bool x11EventFilter(XEvent * event); +private slots: + void doInit(); + private: void notifyPreviousInstance(Window prevInstance); Window mSelectionOwner; TrayLabelMgr *mTrayLabelMgr; - bool firstSaveState; + TQTimer mInitTimer; }; #endif // _TDEDOCKER_H -- cgit v1.2.1