position relative to the window properly
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
scripts/motion.py
→
scripts/motion.py
@@ -105,6 +105,8 @@ try: x, y = POPUP_COORDS
except: x = y = 0 if x < 0: x += area.right() - size.width() + 2 if y < 0: y += area.bottom() - size.height() + 2 + x += area.position.x() + y += area.position.y() _popwidget.moveresize(otk.Rect(x, y, size.width(), size.height())) def _motion_grab(data):