Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/x11/standalone/x11_platform.h
Show All 23 Lines | |||||
24 | #include <kwin_export.h> | 24 | #include <kwin_export.h> | ||
25 | 25 | | |||
26 | #include <QObject> | 26 | #include <QObject> | ||
27 | 27 | | |||
28 | namespace KWin | 28 | namespace KWin | ||
29 | { | 29 | { | ||
30 | class XInputIntegration; | 30 | class XInputIntegration; | ||
31 | class WindowSelector; | 31 | class WindowSelector; | ||
32 | class X11EventFilter; | ||||
32 | 33 | | |||
33 | class KWIN_EXPORT X11StandalonePlatform : public Platform | 34 | class KWIN_EXPORT X11StandalonePlatform : public Platform | ||
34 | { | 35 | { | ||
35 | Q_OBJECT | 36 | Q_OBJECT | ||
36 | Q_INTERFACES(KWin::Platform) | 37 | Q_INTERFACES(KWin::Platform) | ||
37 | Q_PLUGIN_METADATA(IID "org.kde.kwin.Platform" FILE "x11.json") | 38 | Q_PLUGIN_METADATA(IID "org.kde.kwin.Platform" FILE "x11.json") | ||
38 | public: | 39 | public: | ||
39 | X11StandalonePlatform(QObject *parent = nullptr); | 40 | X11StandalonePlatform(QObject *parent = nullptr); | ||
Show All 33 Lines | 65 | private: | |||
73 | **/ | 74 | **/ | ||
74 | static bool hasGlx(); | 75 | static bool hasGlx(); | ||
75 | 76 | | |||
76 | XInputIntegration *m_xinputIntegration = nullptr; | 77 | XInputIntegration *m_xinputIntegration = nullptr; | ||
77 | QThread *m_openGLFreezeProtectionThread = nullptr; | 78 | QThread *m_openGLFreezeProtectionThread = nullptr; | ||
78 | QTimer *m_openGLFreezeProtection = nullptr; | 79 | QTimer *m_openGLFreezeProtection = nullptr; | ||
79 | Display *m_x11Display; | 80 | Display *m_x11Display; | ||
80 | QScopedPointer<WindowSelector> m_windowSelector; | 81 | QScopedPointer<WindowSelector> m_windowSelector; | ||
82 | QScopedPointer<X11EventFilter> m_screenEdgesFilter; | ||||
81 | 83 | | |||
82 | }; | 84 | }; | ||
83 | 85 | | |||
84 | } | 86 | } | ||
85 | 87 | | |||
86 | #endif | 88 | #endif |