diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-09-22 17:22:22 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-09-24 12:16:50 +0000 |
commit | 17650467302819e1fd333f0682445d50fc52eb68 (patch) | |
tree | 744e5daac8c84fe4ad1937afc4a3074e6e7dead8 /mkspecs/sco-cc | |
parent | 73b8cd879cd723fbcce42e63f21cc864d13cb91e (diff) |
Deliver mouse press and release events on X11 also when dragging
We generally assume that for every mouse press we also get a mouse
release eventually. The event filter installed by QBasicDrag broke this
assumption as it didn't take care of filtering mouse press and mouse
release events symmetrically. We cannot immediately pass on the release
event as that would mean a release event is generated from a press
event (via the blocking drag call), which breaks assumptions in other
places.
Change-Id: If7e48c7dc0ef5265bed4f9a9366a7606ec875d93
Task-number: QTBUG-46361
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Gatis Paeglis <gatis.paeglis@digia.com>
Diffstat (limited to 'mkspecs/sco-cc')
0 files changed, 0 insertions, 0 deletions