mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Mark event loop nesting more carefully.
Fixes #5506. I hope fixes #5508.
This commit is contained in:
@@ -430,7 +430,8 @@ bool Application::nativeEventFilter(
|
||||
const QByteArray &eventType,
|
||||
void *message,
|
||||
long *result) {
|
||||
if (_eventNestingLevel > _loopNestingLevel) {
|
||||
if (_eventNestingLevel > _loopNestingLevel
|
||||
&& Platform::NativeEventNestsLoop(message)) {
|
||||
_previousLoopNestingLevels.push_back(_loopNestingLevel);
|
||||
_loopNestingLevel = _eventNestingLevel;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user