all repos — openbox @ 56d2f942aedbd212779d40c36eda1a89c931e960

openbox fork - make it a bit more like ryudo

position relative to the window properly
Dana Jansens danakj@orodu.net
commit

56d2f942aedbd212779d40c36eda1a89c931e960

parent

d2a1ecb1b50902d262a74e347203a36a961e1d92

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M scripts/motion.pyscripts/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):