diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-04-14 15:43:56 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-05-13 09:41:37 +1000 |
commit | 5bcc22757e6e1f24ee2bfec65f68a5f567300532 (patch) | |
tree | 5861de5bd289cc871debfb2ca85aef7b36d3f3c9 /dix | |
parent | 2054ca73060a20b5a3025e8d5ef68182149484d3 (diff) |
dix: return deliveries from DeliverGrabbedEvent
This isn't currently used by any of the callers but it will likely be in the
future.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Diffstat (limited to 'dix')
-rw-r--r-- | dix/events.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dix/events.c b/dix/events.c index aeb37aa27..30b689aed 100644 --- a/dix/events.c +++ b/dix/events.c @@ -3884,8 +3884,10 @@ unwind: * grab. If not, TryClientEvents() is used. * * @param deactivateGrab True if the device's grab should be deactivated. + * + * @return The number of events delivered. */ -void +int DeliverGrabbedEvent(InternalEvent *event, DeviceIntPtr thisDev, Bool deactivateGrab) { @@ -4053,6 +4055,8 @@ DeliverGrabbedEvent(InternalEvent *event, DeviceIntPtr thisDev, free(core); free(xi); free(xi2); + + return deliveries; } /* This function is used to set the key pressed or key released state - |