diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-08-18 14:05:08 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-08-18 14:06:57 (GMT) |
commit | 68b7514840fe29f84af8d418538084ed337bd171 (patch) | |
tree | c0297b302a1895658c8f93748fa5a3dde48e26f3 /src | |
parent | 37b375092b6db1c3302f93676b6329742f5c9fef (diff) | |
download | Qt-68b7514840fe29f84af8d418538084ed337bd171.zip Qt-68b7514840fe29f84af8d418538084ed337bd171.tar.gz Qt-68b7514840fe29f84af8d418538084ed337bd171.tar.bz2 |
Make sure to update pos QDFBCursor::move
We don't need to chain to the base class since the QDirectFBScreenCursor
always is rendered by hardware but we should update the pos variable in
case people ask where the cursor is.
Reviewed-by: TrustMe
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp index 774162c..2541677 100644 --- a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp +++ b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp @@ -578,6 +578,7 @@ QDirectFBScreenCursor::QDirectFBScreenCursor() void QDirectFBScreenCursor::move(int x, int y) { + pos = QPoint(x, y); layer->WarpCursor(layer, x, y); } |