on xenial help sign in
Cursor: properly initialize hotspot position Fixes: #1510407
97e722cDaniel d'Andrada
plugins/Cursor/MousePointer.cpp+1
@@ -32,6 +32,7 @@ MousePointer::MousePointer(QQuickItem *parent)
32 , m_hotspotX(0)
32 , m_hotspotX(0)
33 , m_hotspotY(0)
33 , m_hotspotY(0)
34{
34{
35+ updateHotspot();
35}
36}
36
37
37void MousePointer::handleMouseEvent(ulong timestamp, QPointF movement, Qt::MouseButtons buttons,
38void MousePointer::handleMouseEvent(ulong timestamp, QPointF movement, Qt::MouseButtons buttons,