fix TabBox detection in SlideBack effect
This commit is contained in:
parent
04020f0b42
commit
2f10503ee5
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue