code: def ungrab_pointer(self, time, onerror = None):
          
          request.UngrabPointer(display = self.display,
                                onerror = onerror,
                                time = time)
docs: Release a grabbed pointer and any queued events. See
          XUngrabPointer(3X11).