]> Dogcows Code - chaz/openbox/commitdiff
off-by-one
authorDana Jansens <danakj@orodu.net>
Sun, 2 Feb 2003 23:57:49 +0000 (23:57 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 2 Feb 2003 23:57:49 +0000 (23:57 +0000)
scripts/motion.py

index 3d6937813ddff9ce9973058624d45ba5d61bb319..174f3c8e2bebf93f455161c404e3018ad690e306 100644 (file)
@@ -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
This page took 0.025087 seconds and 4 git commands to generate.