Ungrabs the pointer, if the given item has the pointer grab.
this |
a Canvas. |
item |
the item that has the grab. |
time |
the time of the event that lead to the pointer ungrab. This should come from the relevant Event. |