Пример #1
0
 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)
Пример #2
0
 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)