summaryrefslogtreecommitdiffstats
path: root/src/tqtraylabel.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-04-25 01:36:34 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-04-25 01:36:34 +0900
commit63502d3ac497715af3379a88b2270b04192881ea (patch)
tree7fa9b395f0c79211d754b4de715730436db78c0f /src/tqtraylabel.h
parente05047be2bcacf0a5f0f85373ec8aadfbfa073e3 (diff)
downloadtdedocker-63502d3ac497715af3379a88b2270b04192881ea.tar.gz
tdedocker-63502d3ac497715af3379a88b2270b04192881ea.zip
Fixed bug related to mapping logic when docking when minimized is disabled.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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())