From: Dana Jansens Date: Sun, 2 Feb 2003 23:57:49 +0000 (+0000) Subject: off-by-one X-Git-Tag: openbox-2_3_0~41 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=96a949ec1f2be9da216e4d228992d1ce6855a6d4;p=dana%2Fopenbox.git off-by-one --- 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