Identify XButton1|2 release events when mouse is moving.
authorMatteo Bertini <matteo@naufraghi.net>
Wed, 18 Feb 2015 16:10:41 +0000 (17:10 +0100)
committerShawn Rutledge <shawn.rutledge@digia.com>
Thu, 26 Mar 2015 14:19:22 +0000 (14:19 +0000)
commit363c9aba772b20d2df9070be730ffb36775b6f2b
tree03cd7d9dc410ff774e74ea4e0d9dd458f95eeca5
parentab3c64522b8ebf51727c7721c361524fa509f630
Identify XButton1|2 release events when mouse is moving.

X11 has no special state for XButton1 and XButton2, so we need
to look at the global `mouseButtonState` and restore the buttons
after a mouse move.

Task-number: QTBUG-40148
Change-Id: I789f32b344cf7902b1c7aa6b7da7f20f32602be2
Reviewed-by: Alexander Volkov <a.volkov@rusbitech.ru>
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
src/gui/kernel/qapplication_x11.cpp