Use XCB_TIME_CURRENT_TIME instead of CurrentTime from X.h in xcb plugin.
The less X header dependencies the better, we might at some time in the future be able to do without the XCB_USE_XLIB define as well. Change-Id: Ib45986036febef70798851ee8455e054eafc9d22 Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Jan Arne Petersen <jpetersen@openismus.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>bb10
parent
518a4cb5ab
commit
efa0f1f0a7
|
|
@ -551,7 +551,7 @@ void QXcbWindow::show()
|
|||
updateNetWmStateBeforeMap();
|
||||
}
|
||||
|
||||
if (connection()->time() != CurrentTime)
|
||||
if (connection()->time() != XCB_TIME_CURRENT_TIME)
|
||||
updateNetWmUserTime(connection()->time());
|
||||
|
||||
Q_XCB_CALL(xcb_map_window(xcb_connection(), m_window));
|
||||
|
|
|
|||
Loading…
Reference in New Issue