2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Send mouse release event after startSystemMove/startSystemResize

This commit is contained in:
Ilya Fedin
2023-06-01 05:46:15 +04:00
committed by John Preston
parent bcf91e2f2c
commit 8352aeb338
3 changed files with 7 additions and 2 deletions

View File

@@ -768,6 +768,11 @@ void PipPanel::startSystemDrag() {
} else {
widget()->windowHandle()->startSystemMove();
}
Ui::SendSynteticMouseEvent(
widget().get(),
QEvent::MouseButtonRelease,
Qt::LeftButton);
}
void PipPanel::processDrag(QPoint point) {

View File

@@ -58,7 +58,7 @@ ENV CXXFLAGS $CFLAGS
FROM builder AS patches
RUN git clone {{ GIT }}/desktop-app/patches.git \
&& cd patches \
&& git checkout 1d72fdb335 \
&& git checkout a1b912c90e \
&& rm -rf .git
FROM builder AS nasm