def _move_pointer(self, wid, pos): window = self._id_to_window.get(wid) if not window: mouselog("_move_pointer(%s, %s) invalid window id", wid, pos) else: mouselog("raising %s", window) window.raise_window() X11ServerBase._move_pointer(self, wid, pos)
def _move_pointer(self, wid, pos): if wid>=0: window = self._id_to_window.get(wid) if not window: mouselog("_move_pointer(%s, %s) invalid window id", wid, pos) else: #TODO: just like shadow server, adjust for window position pass X11ServerBase._move_pointer(self, wid, pos)