fix TabBox detection in SlideBack effect
parent
04020f0b42
commit
2f10503ee5
|
@ -38,6 +38,7 @@ SlideBackEffect::SlideBackEffect()
|
||||||
connect(effects, SIGNAL(windowDeleted(EffectWindow*)), this, SLOT(slotWindowDeleted(EffectWindow*)));
|
connect(effects, SIGNAL(windowDeleted(EffectWindow*)), this, SLOT(slotWindowDeleted(EffectWindow*)));
|
||||||
connect(effects, SIGNAL(windowUnminimized(EffectWindow*)), this, SLOT(slotWindowUnminimized(EffectWindow*)));
|
connect(effects, SIGNAL(windowUnminimized(EffectWindow*)), this, SLOT(slotWindowUnminimized(EffectWindow*)));
|
||||||
connect(effects, SIGNAL(clientGroupItemSwitched(EffectWindow*,EffectWindow*)), this, SLOT(slotClientGroupItemSwitched(EffectWindow*,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)
|
static inline bool windowsShareDesktop(EffectWindow *w1, EffectWindow *w2)
|
||||||
|
@ -316,7 +317,7 @@ void SlideBackEffect::slotClientGroupItemSwitched(EffectWindow* from, EffectWind
|
||||||
clientItemHidden = from;
|
clientItemHidden = from;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SlideBackEffect::tabBoxClosed()
|
void SlideBackEffect::slotTabBoxClosed()
|
||||||
{
|
{
|
||||||
disabled = true;
|
disabled = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,14 +41,13 @@ public:
|
||||||
virtual void prePaintScreen(ScreenPrePaintData &data, int time);
|
virtual void prePaintScreen(ScreenPrePaintData &data, int time);
|
||||||
virtual void postPaintScreen();
|
virtual void postPaintScreen();
|
||||||
|
|
||||||
virtual void tabBoxClosed();
|
|
||||||
|
|
||||||
public Q_SLOTS:
|
public Q_SLOTS:
|
||||||
void slotWindowAdded(EffectWindow *w);
|
void slotWindowAdded(EffectWindow *w);
|
||||||
void slotWindowActivated(EffectWindow *w);
|
void slotWindowActivated(EffectWindow *w);
|
||||||
void slotWindowDeleted(EffectWindow *w);
|
void slotWindowDeleted(EffectWindow *w);
|
||||||
void slotWindowUnminimized(EffectWindow *w);
|
void slotWindowUnminimized(EffectWindow *w);
|
||||||
void slotClientGroupItemSwitched(EffectWindow* from, EffectWindow* to);
|
void slotClientGroupItemSwitched(EffectWindow* from, EffectWindow* to);
|
||||||
|
void slotTabBoxClosed();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue