diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2017-04-19 08:29:36 +0200 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@qt.io> | 2017-04-19 10:27:35 +0000 |
commit | 32b92b9e21a7a684fa9c23b881cda5b913699574 (patch) | |
tree | d1e0f9b23df66954aa96d21e2a355dc55d050ef9 /src/concurrent | |
parent | ad0249cc793772a342bf6ced40fb44cd52b2b0e6 (diff) |
winrt: Fix keyboard modifier states
CoreWindow::GetAsyncKeyState returns flags and not enums so checking
equality does not give the needed result.
As seen in qwindowskeymapper.cpp key events that only contain a modifier
key should not have the key itself as a modifier when calling
handleExtendedKeyEvent.
With the current approach the modifier states are the same as
on desktop Windows.
Task-number: QTBUG-58750
Change-Id: Ie0f3e1d3e8294e1a6b41c9223a7a5153306579f6
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'src/concurrent')
0 files changed, 0 insertions, 0 deletions