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>
bb10
Martin Gräßlin 2013-09-04 09:51:23 +02:00 committed by The Qt Project
parent 7e7d1f5a79
commit 47d79be39a
1 changed files with 1 additions and 1 deletions

View File

@ -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(),