mirror of
https://github.com/brl/mutter.git
synced 2025-02-08 17:44:09 +00:00
![Jonas Ådahl](/assets/img/avatar_default.png)
The constrain callback cannot rely on the pointer position of the corresponding ClutterInputDevice to get the actual delta of the motion event that is to be constrained since it is only updated when an event is dispatched. So change the API to pass the previous pointer position when constraining. https://bugzilla.gnome.org/show_bug.cgi?id=752752