mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-19 20:02:21 +00:00
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>
This commit is contained in:
parent
707b4dc61f
commit
21a15f9a04
5 changed files with 31 additions and 11 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue