From 015ebd75390e9f7eaac607f65496c17d26c1f5ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 23 Jul 2013 07:08:08 +0200 Subject: [PATCH] Disable XEvent filter in tabbox/declarative.(h|cpp) Needs proper porting. --- tabbox/declarative.cpp | 2 ++ tabbox/declarative.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tabbox/declarative.cpp b/tabbox/declarative.cpp index c69b72c015..7c13c63def 100644 --- a/tabbox/declarative.cpp +++ b/tabbox/declarative.cpp @@ -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() { diff --git a/tabbox/declarative.h b/tabbox/declarative.h index 3ebb5284b2..99b83601ff 100644 --- a/tabbox/declarative.h +++ b/tabbox/declarative.h @@ -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();