

def position_window(window):
    'Position window to mouse cursor'
    pos = QtGui.QCursor.pos()
    window.move(window.x(), pos.y())

dataset/ETHPy150Open csaez/quicklauncher/quicklauncher/gui.py position_window/VarMisuse@26/40 `pos`->`window`