diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-12-20 14:07:17 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-02-14 07:13:39 +0000 |
| commit | bb45b75f3d0fc745fcac03ab330d3a9f147bfe9c (patch) | |
| tree | 0eaa2f4dd02d0013e05d1a1367cc6cdabc211758 /src/gui/opengl/qopengl.h | |
| parent | d08e0e861acadf3a354d3833dd5623ef71fa7a4b (diff) | |
Windows QPA: Discard spurious mouse move events
Windows sends a mouse move with no buttons pressed to signal "Enter"
when a window is shown over the cursor. Discard the event and only
use it for generating QEvent::Enter as not to confuse tests.
This is preparing for the use of the new QPA API for mouse events.
Change-Id: I3eb7f3dad82d27d0b425c7eaf34b1eee11592074
Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
Diffstat (limited to 'src/gui/opengl/qopengl.h')
0 files changed, 0 insertions, 0 deletions
