Commit b80f7327 authored by Allan Sandfeld Jensen's avatar Allan Sandfeld Jensen Committed by The Qt Project
Browse files

Use XI2 event detail to determine changed mouse button


The button state part of the XI2 events appears to be badly constructed
on some devices and platforms. Even where supported the 'detail' field
of the XI2 events is what we should be reading since it indicates the
button the event refers to and not just the state of all buttons.

Task-number: QTBUG-38169
Change-Id: Iedb7971194b3c27448b72c285a54100c511c17e4
Reviewed-by: default avatarLaszlo Agocs <laszlo.agocs@digia.com>
parent 3f885939
Branches
Tags
No related merge requests found
Showing with 6 additions and 20 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment