From 96a949ec1f2be9da216e4d228992d1ce6855a6d4 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 2 Feb 2003 23:57:49 +0000 Subject: [PATCH] off-by-one --- scripts/motion.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/motion.py b/scripts/motion.py index 3d693781..174f3c8e 100644 --- a/scripts/motion.py +++ b/scripts/motion.py @@ -100,9 +100,9 @@ def _do_move(): # use the area based on the struts area = ob.openbox.screen(_screen).area() l = area.left() - r = area.right() - w + r = area.right() - w + 1 t = area.top() - b = area.bottom() - h + b = area.bottom() - h + 1 # left screen edge if x < l and x >= l - edge_resistance: x = l -- 2.39.2