Disable XEvent filter in tabbox/declarative.(h|cpp)
Needs proper porting.
This commit is contained in:
parent
e32635fb2e
commit
015ebd7539
2 changed files with 4 additions and 0 deletions
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue