diff options
author | Andre de la Rocha <andre.rocha@qt.io> | 2021-05-17 00:54:51 +0200 |
---|---|---|
committer | Andre de la Rocha <andre.rocha@qt.io> | 2021-05-17 19:11:09 +0200 |
commit | 92198efbd2c696470711e7f24c5b6507bb664ce9 (patch) | |
tree | 06149cfc7b49c93f71e33691bd7cc3e1d8cc6230 /cmake/QtPublicWalkLibsHelpers.cmake | |
parent | 2e373e44ac5577e4b96f87ef7d6b4cde23710293 (diff) |
Windows QPA: Fix dock widget drag&drop failure
A previous change to fix QTBUG-85431 has caused this issue by emulating
the behavior of the non-enhanced mouse event handler in a particular
case, where mouse move events that did not change position were ignored.
However, some of these events seem to be involved in the dock drag&drop
implementation. This issue is also reproduced in pre-5.15 releases,
predating the QTBUG-85431 fix, by disabling the enhanced mouse event
handler by setting the QT_QPA_DISABLE_ENHANCED_MOUSE env var. However,
the ignored events in the current issue seem to be non-client events
only, while the QTBUG-85431 issue was related to client mouse events.
So we can restrict the test added in the QTBUG-85431 fix and have both
issues fixed.
Fixes: QTBUG-92182
Pick-to: 5.15 6.0 6.1
Change-Id: I98c0c8597912c7f4fe58af375a5a560695a82746
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'cmake/QtPublicWalkLibsHelpers.cmake')
0 files changed, 0 insertions, 0 deletions