fix TabBox detection in SlideBack effect

icc-effect-5.14.5
Michael Zanetti 2011-06-19 22:05:48 +02:00
parent 04020f0b42
commit 2f10503ee5
2 changed files with 3 additions and 3 deletions

View File

@ -38,6 +38,7 @@ SlideBackEffect::SlideBackEffect()
connect(effects, SIGNAL(windowDeleted(EffectWindow*)), this, SLOT(slotWindowDeleted(EffectWindow*)));
connect(effects, SIGNAL(windowUnminimized(EffectWindow*)), this, SLOT(slotWindowUnminimized(EffectWindow*)));
connect(effects, SIGNAL(clientGroupItemSwitched(EffectWindow*,EffectWindow*)), this, SLOT(slotClientGroupItemSwitched(EffectWindow*,EffectWindow*)));
connect(effects, SIGNAL(tabBoxClosed()), this, SLOT(slotTabBoxClosed()));
}
static inline bool windowsShareDesktop(EffectWindow *w1, EffectWindow *w2)
@ -316,7 +317,7 @@ void SlideBackEffect::slotClientGroupItemSwitched(EffectWindow* from, EffectWind
clientItemHidden = from;
}
void SlideBackEffect::tabBoxClosed()
void SlideBackEffect::slotTabBoxClosed()
{
disabled = true;
}

View File

@ -41,14 +41,13 @@ public:
virtual void prePaintScreen(ScreenPrePaintData &data, int time);
virtual void postPaintScreen();
virtual void tabBoxClosed();
public Q_SLOTS:
void slotWindowAdded(EffectWindow *w);
void slotWindowActivated(EffectWindow *w);
void slotWindowDeleted(EffectWindow *w);
void slotWindowUnminimized(EffectWindow *w);
void slotClientGroupItemSwitched(EffectWindow* from, EffectWindow* to);
void slotTabBoxClosed();
private: