From: Sung-Jin Park <sj76.park@samsung.com>
authorSung-Jin Park <sj76.park@samsung.com>
Wed, 16 Jan 2013 09:03:55 +0000 (09:03 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Wed, 16 Jan 2013 09:03:55 +0000 (09:03 +0000)
commit01452373c76dca470a38b7f8ced46fd48528daf6
treef70c5217894c22f16e00af07e2d2929a13da22f0
parent73b2f09b747c4394e0a6a25baf1994aa09cfcbf3
From: Sung-Jin Park <sj76.park@samsung.com>
Subject: [E-devel] Bug fix : ecore x XI2 handler not to make button
event twice

Dear developers,
I have fixed a bug in ecore x xi2 handler.

Currently, ecore mouse down/move/up event are made twice for a X touch
event.
Among a couple of events, the first one is made by a X touch event and
the other is made
by a button event whose flags has XIPointerEmulated flag.
The (latter) button event is made from the (former) X touch event
whose flags has XITouchEmulatingPointer flag.
Basically, X touch events doesn't have XITouchEmulatingPointer flag in
its flags when it doesn't make a
(XIPointerEmulated) button event.

Thus I correct ecore_x_xi2.c not to make a mouse down/move/up event
when a X touch event has
XITouchEmulatingPointer flag.

SVN revision: 82869
src/lib/ecore_x/xlib/ecore_x_xi2.c