def _process_mouse_common(self, proto, wid, pointer, modifiers): #adjust pointer position for offset in client: x, y = pointer wx, wy = self.mapped_at[:2] pointer = x - wx, y - wy X11ServerBase._process_mouse_common(self, proto, wid, pointer, modifiers)
def _process_mouse_common(self, proto, wid, pointer): pointer = self._adjust_pointer(pointer) X11ServerBase._process_mouse_common(self, proto, wid, pointer)
def _process_mouse_common(self, proto, wid, pointer, modifiers): #adjust pointer position for offset in client: x, y = pointer wx, wy = self.mapped_at[:2] pointer = x-wx, y-wy X11ServerBase._process_mouse_common(self, proto, wid, pointer, modifiers)
def _process_mouse_common(self, proto, wid, pointer): pointer = self._adjust_pointer(pointer) X11ServerBase._process_mouse_common(self, proto, wid, pointer)