diff options
author | Paul Olav Tvete <paul.tvete@theqtcompany.com> | 2016-05-25 16:28:52 +0200 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@theqtcompany.com> | 2016-05-31 08:03:10 +0000 |
commit | fd9eefba8089ff9cd0bfe986dc527bbdb0630b02 (patch) | |
tree | 8da1ee5f02d49b641bf1be2eaf73537e0ea5e5bf /src/compositor/extensions/qwaylandwlshellintegration_p.h | |
parent | 1f1db8e85eb088f7aaf42c2e15b31e3bb84bfb0d (diff) |
Fix for popups
Introduce a singleton event filter that keeps working if
the popup is deleted. Move the event filter class to
qwaylandquickshellsurfaceitem, so it can be used by the
XDG shell.
Change-Id: I58998a7e62697bf6f54536d2c2e2732ceb4d970e
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
Diffstat (limited to 'src/compositor/extensions/qwaylandwlshellintegration_p.h')
-rw-r--r-- | src/compositor/extensions/qwaylandwlshellintegration_p.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/compositor/extensions/qwaylandwlshellintegration_p.h b/src/compositor/extensions/qwaylandwlshellintegration_p.h index 486077200..07bbc63cb 100644 --- a/src/compositor/extensions/qwaylandwlshellintegration_p.h +++ b/src/compositor/extensions/qwaylandwlshellintegration_p.h @@ -79,10 +79,7 @@ private: Move }; - bool eventFilter(QObject *, QEvent *) Q_DECL_OVERRIDE; - void setIsPopup(bool popup); - void setFilterEnabled(bool enabled); static void closePopups(); QWaylandQuickShellSurfaceItem *m_item; @@ -102,8 +99,6 @@ private: } resizeState; static QVector<QWaylandWlShellSurface*> popupShellSurfaces; - static bool eventFilterInstalled; - static bool waitForRelease; bool isPopup; }; |