path: root/src/plugins/sqldrivers
diff options
authorGatis Paeglis <>2017-06-06 11:33:39 +0200
committerGatis Paeglis <>2017-07-13 11:31:01 +0000
commitac4e848c9802377b7c4ff673180f28b9ca76b746 (patch)
treeece68afcc85cd1282079241f8e4e677d8eee5739 /src/plugins/sqldrivers
parentf69d30804d4bef729d602a8ec41c7d26689772e2 (diff)
xcb: fix logic in QXcbConnection::initializeXInput2()
Things that were broken: - The return values of XIQueryVersion interpreted wrongly. BadRequest means no XI2 support on the server. Nesting more XIQueryVersion calls to check for lower minor version of XI2 in this case does not make sense. On Success, server's supported X Input version is returned. Server's supported version can be lower than the version we have announced to support. In this case Qt client will be limited by X server's supported version (which is ok, as we do check the available version at runtime via QXcbConnection::isAtLeastXI2*). - The code was _always_ announcing to X server that we support XI 2.2, by ignoring what actually is supported in the specific build (see XCB_USE_XINPUT ifdefs). - qCDebug messages and logging categories were wrong too. Change-Id: Ia84457f125474aa851b7a91ed19fc5b904ac359e Reviewed-by: Allan Sandfeld Jensen <>
Diffstat (limited to 'src/plugins/sqldrivers')
0 files changed, 0 insertions, 0 deletions