projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bfdc2b
)
Improved QCursor::setPos() robustness on xcb.
author
Samuel Rødal
<samuel.rodal@nokia.com>
Wed, 20 Jun 2012 07:25:54 +0000
(09:25 +0200)
committer
Qt by Nokia
<qt-info@nokia.com>
Wed, 20 Jun 2012 08:04:26 +0000
(10:04 +0200)
This makes tst_QGraphicsView::hoverLeave() less flaky.
Change-Id: Iaa1be6e2d02499679c69b26c07132413040173b6
Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
src/plugins/platforms/xcb/qxcbcursor.cpp
patch
|
blob
|
history
diff --git
a/src/plugins/platforms/xcb/qxcbcursor.cpp
b/src/plugins/platforms/xcb/qxcbcursor.cpp
index
e785fd9
..
0f69221
100644
(file)
--- a/
src/plugins/platforms/xcb/qxcbcursor.cpp
+++ b/
src/plugins/platforms/xcb/qxcbcursor.cpp
@@
-543,6
+543,7
@@
void QXcbCursor::setPos(const QPoint &pos)
xcb_window_t root;
getPosAndRoot(conn, &root, 0);
xcb_warp_pointer(conn, XCB_NONE, root, 0, 0, 0, 0, pos.x(), pos.y());
+ xcb_flush(conn);
}
QT_END_NAMESPACE