summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorMartin Gräßlin <mgraesslin@kde.org>2013-09-04 09:51:23 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-04 20:18:53 +0200
commit47d79be39a5bb5f6cf3ed1213d3bad2917d86d26 (patch)
tree9c02d5b7eebc230787558d83dfeae67a60726930 /src/plugins
parent7e7d1f5a796d6dc2878a630252142ea191e57501 (diff)
Enable XSync extension also for KWin
KWin supports the XSync extension. Since the check got added the XSync implementation in KWin got reworked (release KDE SC 4.8). Change-Id: I15c37fe4dd5501ca107b90a07ae8d70295ffaeda Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/platforms/xcb/qxcbscreen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/qxcbscreen.cpp b/src/plugins/platforms/xcb/qxcbscreen.cpp
index 0971b6ca8e..6961a2fd79 100644
--- a/src/plugins/platforms/xcb/qxcbscreen.cpp
+++ b/src/plugins/platforms/xcb/qxcbscreen.cpp
@@ -149,7 +149,7 @@ QXcbScreen::QXcbScreen(QXcbConnection *connection, xcb_screen_t *scr,
if (!sync_reply || !sync_reply->present)
m_syncRequestSupported = false;
else
- m_syncRequestSupported = m_windowManagerName != QLatin1String("KWin");
+ m_syncRequestSupported = true;
m_clientLeader = xcb_generate_id(xcb_connection());
Q_XCB_CALL2(xcb_create_window(xcb_connection(),