summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-12-03 10:41:16 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-12-17 15:03:12 +1000
commit21a15f9a04ec0a6c8f654eef943561e98db2475d (patch)
treeb4e799b2138d5b2b1a5f4a8a62ed794bb52c1c6c /include
parent707b4dc61f18960611409ef5ad8947be189f7296 (diff)
Pass the event list through to the pointer barrier code to return it
Instead of having the pointer barrier code enqueue events separately from GetPointerEvents, pass the event list through and let it add to it. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
Diffstat (limited to 'include')
-rw-r--r--include/input.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/input.h b/include/input.h
index a5d0462c9..23a20b59d 100644
--- a/include/input.h
+++ b/include/input.h
@@ -681,6 +681,7 @@ extern _X_HIDDEN void update_desktop_dimensions(void);
extern _X_HIDDEN void input_constrain_cursor(DeviceIntPtr pDev, ScreenPtr screen,
int current_x, int current_y,
int dest_x, int dest_y,
- int *out_x, int *out_y);
+ int *out_x, int *out_y,
+ int *nevents, InternalEvent* events);
#endif /* INPUT_H */