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

@ -1 +1 @@
Subproject commit cf906f14bd6ed66826527f072f249840dc578f8c
Subproject commit 83cab52cd6ba93e9292405b23358d8dde3f95567