summaryrefslogtreecommitdiffstats
path: root/src/tqtraylabel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tqtraylabel.h')
-rw-r--r--src/tqtraylabel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tqtraylabel.h b/src/tqtraylabel.h
index 462fc61..17a3fce 100644
--- a/src/tqtraylabel.h
+++ b/src/tqtraylabel.h
@@ -126,7 +126,7 @@ protected:
private slots:
void realityCheck(void);
void showOnAllDesktops(void);
- void toggleDockWhenMinimized(void) { mDockWhenMinimized->setChecked(!mDockWhenMinimized->isChecked()); }
+ void toggleDockWhenMinimized(void) { mDockWhenMinimized->setChecked(mSavedDWM); }
void skipTaskbar(void);
void setCustomIcon(void);
void updateMenu(void);
@@ -148,6 +148,7 @@ private:
Window mDockedWindow; // the window which is being docked
int mBalloonTimeout, mShowId;
bool mDocked, mWithdrawn, mUndockWhenDead, mSessionManaged;
+ bool mSavedDWM; // related to dock when minimized logic
TQString mTitle, mClass; // Title and hint of mDockedWindow
TQPixmap mAppIcon; // The current app icon (may not be same as pixmap())