diff options
Diffstat (limited to 'src/tqtraylabel.cpp')
-rw-r--r-- | src/tqtraylabel.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tqtraylabel.cpp b/src/tqtraylabel.cpp index 0b99f7e..4e0b717 100644 --- a/src/tqtraylabel.cpp +++ b/src/tqtraylabel.cpp @@ -356,10 +356,11 @@ void TQTrayLabel::map(void) SubstructureNotifyMask | SubstructureRedirectMask, l, sizeof(l)); // skipTaskbar modifies _NET_WM_STATE. Make sure we dont override WMs value TQTimer::singleShot(230, this, SLOT(skipTaskbar())); - // disable "dock when minized" for a short while since we went to Iconic state + // disable "dock when minized" (if enable) for a short while since we went to Iconic state // (when the window is mapped, often an IconicState WM_STATE message is sent too // just before the NormalState) - toggleDockWhenMinimized(); + mSavedDWM = mDockWhenMinimized->isChecked(); // store for later use + mDockWhenMinimized->setChecked(false); TQTimer::singleShot(500, this, SLOT(toggleDockWhenMinimized())); } |