summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbconnection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbconnection.h')
-rw-r--r--src/plugins/platforms/xcb/qxcbconnection.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/platforms/xcb/qxcbconnection.h b/src/plugins/platforms/xcb/qxcbconnection.h
index 556e6b1002..a7db3eda89 100644
--- a/src/plugins/platforms/xcb/qxcbconnection.h
+++ b/src/plugins/platforms/xcb/qxcbconnection.h
@@ -213,8 +213,7 @@ public:
void grabServer();
void ungrabServer();
- bool isUnity() const { return m_xdgCurrentDesktop == "unity"; }
- bool isGnome() const { return m_xdgCurrentDesktop == "gnome"; }
+ QString windowManagerName() const;
QXcbNativeInterface *nativeInterface() const { return m_nativeInterface; }
@@ -378,7 +377,6 @@ private:
friend class QXcbEventQueue;
- QByteArray m_xdgCurrentDesktop;
QTimer m_focusInTimer;
};