Disable XEvent filter in tabbox/declarative.(h|cpp)

Needs proper porting.
This commit is contained in:
Martin Gräßlin 2013-07-23 07:08:08 +02:00
parent e32635fb2e
commit 015ebd7539
2 changed files with 4 additions and 0 deletions

View file

@ -238,6 +238,7 @@ void DeclarativeView::hideEvent(QHideEvent *event)
#endif
}
#if KWIN_QT5_PORTING
bool DeclarativeView::x11Event(XEvent *e)
{
if (tabBox->embedded() &&
@ -259,6 +260,7 @@ bool DeclarativeView::x11Event(XEvent *e)
}
return QDeclarativeView::x11Event(e);
}
#endif
void DeclarativeView::slotUpdateGeometry()
{

View file

@ -62,7 +62,9 @@ public:
protected:
virtual void hideEvent(QHideEvent *event);
#if KWIN_QT5_PORTING
virtual bool x11Event(XEvent *e);
#endif
public Q_SLOTS:
void slotUpdateGeometry();