code: def change_active_pointer_grab(self, event_mask, cursor, time, onerror = None):
          
          request.ChangeActivePointerGrab(display = self.display,
                                          onerror = onerror,
                                          cursor = cursor,
                                          time = time,
                                          event_mask = event_mask)
docs: Change the dynamic parameters of a pointer grab. See
          XChangeActivePointerGrab(3X11).