[PATCH 4/8] Add mode field to ConstrainCursorHarder.

Peter Hutterer peter.hutterer at who-t.net
Mon Feb 21 19:51:20 PST 2011


For Pointer Barriers, the movement mode is important and must be passed
through.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 include/scrnintstr.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/scrnintstr.h b/include/scrnintstr.h
index 9f4fbf3..a9357e8 100644
--- a/include/scrnintstr.h
+++ b/include/scrnintstr.h
@@ -404,7 +404,7 @@ typedef    void (* DeviceCursorCleanupProcPtr)(
         ScreenPtr    /* pScreen */);
 
 typedef void (*ConstrainCursorHarderProcPtr)(
-       DeviceIntPtr, ScreenPtr, int *, int *);
+       DeviceIntPtr, ScreenPtr, int, int *, int *);
 
 typedef struct _Screen {
     int			myNum;	/* index of this instance in Screens[] */
-- 
1.7.4



More information about the xorg-devel mailing list