[PATCH] dix: swap initial pointer motion filter back after f44d7dcb5

Peter Hutterer peter.hutterer at who-t.net
Tue May 3 16:35:26 PDT 2011


Got inadvertantly swapped in f44d7dcb5.

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

diff --git a/dix/events.c b/dix/events.c
index d70d62f..3a90c50 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -4979,7 +4979,7 @@ InitEvents(void)
     inputInfo.pointer = (DeviceIntPtr)NULL;
     /* The mask for pointer motion events may have changed in the last server
      * generation. See comment above definition of filters. */
-    filters[0][PointerMotionMask] = MotionNotify;
+    filters[0][MotionNotify] = PointerMotionMask;
     for (i = 1; i < MAXDEVICES; i++)
     {
         memcpy(&filters[i], filters[0], sizeof(filters[0]));
-- 
1.7.4.4


More information about the xorg-devel mailing list