diff --git a/Telegram/SourceFiles/window/window_title_qt.cpp b/Telegram/SourceFiles/window/window_title_qt.cpp index 891484681..a8a02de5b 100644 --- a/Telegram/SourceFiles/window/window_title_qt.cpp +++ b/Telegram/SourceFiles/window/window_title_qt.cpp @@ -211,7 +211,8 @@ bool TitleWidgetQt::eventFilter(QObject *obj, QEvent *e) { const auto mouseEvent = static_cast(e); const auto edges = edgesFromPos(mouseEvent->windowPos().toPoint()); - if (e->type() == QEvent::MouseMove) { + if (e->type() == QEvent::MouseMove + && mouseEvent->buttons() == Qt::NoButton) { updateCursor(edges); }