[clutter] xi2: Reset scroll info for correct device on device change



commit 9dbc01b61fd47c0c255b69f6b189c68670d191fe
Author: Sebastian Keller <sebastian-keller gmx de>
Date:   Fri Feb 8 01:10:50 2013 +0100

    xi2: Reset scroll info for correct device on device change

 clutter/x11/clutter-device-manager-xi2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/x11/clutter-device-manager-xi2.c b/clutter/x11/clutter-device-manager-xi2.c
index ce15c81..6a06cec 100644
--- a/clutter/x11/clutter-device-manager-xi2.c
+++ b/clutter/x11/clutter-device-manager-xi2.c
@@ -745,7 +745,7 @@ clutter_device_manager_xi2_translate_event (ClutterEventTranslator *translator,
           }
 
         if (source_device)
-          _clutter_input_device_reset_scroll_info (device);
+          _clutter_input_device_reset_scroll_info (source_device);
       }
       retval = CLUTTER_TRANSLATE_REMOVE;
       break;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]