diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-12-14 17:02:30 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-12-21 12:38:36 +1000 |
commit | c3843f5498a849920ab68cca3557411ad8ab3454 (patch) | |
tree | fb88e2d67bef8af05fad6a6181d80ddf25614805 /include/input.h | |
parent | e389a19a730055d4550ff708da83c78099a516fd (diff) |
dix: add real_event parameter to ActivatePassiveGrab
For touch events with pointer emulation, the event that triggers the grab
(the pointer event) is not the same as the actual event (the touch event).
For replaying, we need to store the real event then.
No effective changes at this point, for the current caller event and
real_event are identical.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'include/input.h')
-rw-r--r-- | include/input.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/input.h b/include/input.h index a6bdce060..9fec92b96 100644 --- a/include/input.h +++ b/include/input.h @@ -634,7 +634,7 @@ void FixUpEventFromWindow(SpritePtr pSprite, extern WindowPtr XYToWindow(SpritePtr pSprite, int x, int y); extern int EventIsDeliverable(DeviceIntPtr dev, int evtype, WindowPtr win); extern Bool ActivatePassiveGrab(DeviceIntPtr dev, GrabPtr grab, - InternalEvent *ev); + InternalEvent *ev, InternalEvent *real_event); /** * Masks specifying the type of event to deliver for an InternalEvent; used * by EventIsDeliverable. |