diff --git a/Telegram/SourceFiles/history/history_view_swipe.cpp b/Telegram/SourceFiles/history/history_view_swipe.cpp index b028f6969..b7a95517c 100644 --- a/Telegram/SourceFiles/history/history_view_swipe.cpp +++ b/Telegram/SourceFiles/history/history_view_swipe.cpp @@ -230,7 +230,7 @@ void SetupSwipeHandler( processEnd(); } else { updateWith({ - .globalCursor = w->globalPos(), + .globalCursor = w->globalPosition().toPoint(), .position = QPointF(), .delta = state->delta - Ui::ScrollDelta(w), .touch = false,