xi2: Reset scroll info for correct device on device change

This commit is contained in:
Sebastian Keller 2013-02-08 01:10:50 +01:00 committed by Jasper St. Pierre
parent 1c942ff186
commit 9dbc01b61f

View File

@ -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;