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 35 Lines | 67 | private: | |||
75 | **/ | 76 | **/ | ||
76 | static bool hasGlx(); | 77 | static bool hasGlx(); | ||
77 | 78 | | |||
78 | XInputIntegration *m_xinputIntegration = nullptr; | 79 | XInputIntegration *m_xinputIntegration = nullptr; | ||
79 | QThread *m_openGLFreezeProtectionThread = nullptr; | 80 | QThread *m_openGLFreezeProtectionThread = nullptr; | ||
80 | QTimer *m_openGLFreezeProtection = nullptr; | 81 | QTimer *m_openGLFreezeProtection = nullptr; | ||
81 | Display *m_x11Display; | 82 | Display *m_x11Display; | ||
82 | QScopedPointer<WindowSelector> m_windowSelector; | 83 | QScopedPointer<WindowSelector> m_windowSelector; | ||
84 | QScopedPointer<X11EventFilter> m_screenEdgesFilter; | ||||
83 | 85 | | |||
84 | }; | 86 | }; | ||
85 | 87 | | |||
86 | } | 88 | } | ||
87 | 89 | | |||
88 | #endif | 90 | #endif |