@@ -73,7 +73,7 @@ void MousePointer::handleMouseEvent(ulong timestamp, QPointF movement, Qt::Mouse
7373 Q_EMIT pushedRightBoundary(newX - (sceneWidth - 1), buttons);
7474 } else if (newY < m_panelHeight) { // top edge
7575 Q_EMIT pushedTopBoundary(qAbs(newY - m_panelHeight), buttons);
76− } else if (Q_LIKELY(newX >= 0 && newX < sceneWidth && newY >= 0 && newY < sceneHeight)) { // normal pos, not pushing
76+ } else if (Q_LIKELY(newX > 0 && newX < sceneWidth-1 && newY > 0 && newY < sceneHeight-1)) { // normal pos, not pushing
7777 Q_EMIT pushStopped();
7878 }
7979