Ejemplo n.º 1
0
 def ungetmouse(id, x, y, z, bstate):
     _ensure_initialised()
     mevent = ffi.new("MEVENT *")
     mevent.id, mevent.x, mevent.y, mevent.z, mevent.bstate = (
         id, x, y, z, bstate)
     return _check_ERR(lib.ungetmouse(mevent), "ungetmouse")
Ejemplo n.º 2
0
 def ungetmouse(id, x, y, z, bstate):
     _ensure_initialised()
     mevent = ffi.new("MEVENT *")
     mevent.id, mevent.x, mevent.y, mevent.z, mevent.bstate = (id, x, y, z,
                                                               bstate)
     return _check_ERR(lib.ungetmouse(mevent), "ungetmouse")