fix: non-native drag on Windows (#5051)

This commit is contained in:
nerix
2023-12-29 15:10:56 +01:00
committed by GitHub
parent d84779f127
commit c65ebd26bd
3 changed files with 9 additions and 3 deletions
+5
View File
@@ -1091,6 +1091,11 @@ bool BaseWindow::handleNCHITTEST(MSG *msg, long *result)
return true;
}
if (widget == this)
{
return false;
}
return recursiveCheckMouseTracking(widget->parentWidget());
};
+2 -1
View File
@@ -159,7 +159,8 @@ ReplyThreadPopup::ReplyThreadPopup(bool closeAutomatically, Split *split)
this->thread_->markUnsubscribed();
}
});
hbox->addWidget(this->ui_.notificationCheckbox, 1);
hbox->addWidget(this->ui_.notificationCheckbox);
hbox->addStretch(1);
this->ui_.notificationCheckbox->setFocusPolicy(Qt::NoFocus);
}