[Development] Source incompatible Qt 5 change: Removing the QTouchEvent::TouchPoint::Primary flag

Denis Dzyubenko denis at ddenis.info
Thu Jan 12 21:41:10 CET 2012


Hi Sam,

On Thu, Jan 12, 2012 at 2:26 PM, Samuel Rødal <samuel.rodal at nokia.com> wrote:
> Hello,
>
> I'd like to remove the QTouchEvent::TouchPoint::Primary flag, as per
> change request http://codereview.qt-project.org/#change,12928
>
> The current purpose of the flag is simply to note that a touch point is
> duplicated as a mouse event by the windowing system (to prevent Qt from
> also generating a synthesized mouse event from that touch event). The
> linked change moves this duplication logic out of the windowing system
> interface (platform plugins, generic plugins, etc), and into QtGui.
>
> If we kept it as always returning false it could mask incorrect behavior
> in the user application.

+2 from me. XInput 2.2[1] doesn't have such flag either anymore.

Denis.

[1] http://who-t.blogspot.com/2012/01/multitouch-in-x-touch-grab-handling.html



More information about the Development mailing list