Windows: Fix autocapture for multiple buttons
authorMiikka Heikkinen <miikka.heikkinen@digia.com>
Thu, 15 Nov 2012 08:32:31 +0000 (10:32 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 15 Nov 2012 09:45:29 +0000 (10:45 +0100)
commitaeb566db73a2526e22145af17f6b5ed927eb6fbb
tree6673442a339b094c18b8a498b74dba7c3bd7da23
parent0a334b2180f311a06231176574713775756147b8
Windows: Fix autocapture for multiple buttons

Automatic capture of mouse events on button press was released when
the first button was released, even if multiple buttons were pressed.
Changed it so that the capture is released when the last button is
released.

Task-number: QTBUG-28007
Change-Id: Icee59aacaf0ba947820c40cb7ede00193ff46a14
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
src/plugins/platforms/windows/qwindowsmousehandler.cpp