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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 3 deletions

View file

@ -52,8 +52,8 @@
- Bugfix: Hide the Usercard button in the User Info Popup when in special channels. (#4972) - Bugfix: Hide the Usercard button in the User Info Popup when in special channels. (#4972)
- Bugfix: Fixed support for Windows 11 Snap layouts. (#4994) - Bugfix: Fixed support for Windows 11 Snap layouts. (#4994)
- Bugfix: Fixed some windows appearing between screens. (#4797) - Bugfix: Fixed some windows appearing between screens. (#4797)
- Bugfix: Fixed a crash that could occur when using certain features in a Usercard after closing the split from which it was created. (#5034) - Bugfix: Fixed a crash that could occur when using certain features in a Usercard after closing the split from which it was created. (#5034, #5051)
- Bugfix: Fixed a crash that could occur when using certain features in a Reply popup after closing the split from which it was created. (#5036) - Bugfix: Fixed a crash that could occur when using certain features in a Reply popup after closing the split from which it was created. (#5036, #5051)
- Bugfix: Fixed a bug on Wayland where tooltips would spawn as separate windows instead of behaving like tooltips. (#4998, #5040) - Bugfix: Fixed a bug on Wayland where tooltips would spawn as separate windows instead of behaving like tooltips. (#4998, #5040)
- Bugfix: Fixes to section deletion in text input fields. (#5013) - Bugfix: Fixes to section deletion in text input fields. (#5013)
- Bugfix: Show user text input within watch streak notices. (#5029) - Bugfix: Show user text input within watch streak notices. (#5029)

View file

@ -1091,6 +1091,11 @@ bool BaseWindow::handleNCHITTEST(MSG *msg, long *result)
return true; return true;
} }
if (widget == this)
{
return false;
}
return recursiveCheckMouseTracking(widget->parentWidget()); return recursiveCheckMouseTracking(widget->parentWidget());
}; };

View file

@ -159,7 +159,8 @@ ReplyThreadPopup::ReplyThreadPopup(bool closeAutomatically, Split *split)
this->thread_->markUnsubscribed(); this->thread_->markUnsubscribed();
} }
}); });
hbox->addWidget(this->ui_.notificationCheckbox, 1); hbox->addWidget(this->ui_.notificationCheckbox);
hbox->addStretch(1);
this->ui_.notificationCheckbox->setFocusPolicy(Qt::NoFocus); this->ui_.notificationCheckbox->setFocusPolicy(Qt::NoFocus);
} }