mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Send mouse release event after startSystemMove/startSystemResize
This commit is contained in:
parent
bcf91e2f2c
commit
8352aeb338
3 changed files with 7 additions and 2 deletions
|
@ -768,6 +768,11 @@ void PipPanel::startSystemDrag() {
|
||||||
} else {
|
} else {
|
||||||
widget()->windowHandle()->startSystemMove();
|
widget()->windowHandle()->startSystemMove();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Ui::SendSynteticMouseEvent(
|
||||||
|
widget().get(),
|
||||||
|
QEvent::MouseButtonRelease,
|
||||||
|
Qt::LeftButton);
|
||||||
}
|
}
|
||||||
|
|
||||||
void PipPanel::processDrag(QPoint point) {
|
void PipPanel::processDrag(QPoint point) {
|
||||||
|
|
|
@ -58,7 +58,7 @@ ENV CXXFLAGS $CFLAGS
|
||||||
FROM builder AS patches
|
FROM builder AS patches
|
||||||
RUN git clone {{ GIT }}/desktop-app/patches.git \
|
RUN git clone {{ GIT }}/desktop-app/patches.git \
|
||||||
&& cd patches \
|
&& cd patches \
|
||||||
&& git checkout 1d72fdb335 \
|
&& git checkout a1b912c90e \
|
||||||
&& rm -rf .git
|
&& rm -rf .git
|
||||||
|
|
||||||
FROM builder AS nasm
|
FROM builder AS nasm
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit cf906f14bd6ed66826527f072f249840dc578f8c
|
Subproject commit 83cab52cd6ba93e9292405b23358d8dde3f95567
|
Loading…
Add table
Reference in a new issue