diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-02 23:57:49 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-02 23:57:49 +0000 |
| commit | 96a949ec1f2be9da216e4d228992d1ce6855a6d4 (patch) | |
| tree | 37717bbf41ea3e34d1f97620ef40f30902dbe55a /scripts/motion.py | |
| parent | 4d4e17d102a2a3af89653974478ab5877cb0cbdc (diff) | |
off-by-one
Diffstat (limited to 'scripts/motion.py')
| -rw-r--r-- | scripts/motion.py | 4 |
1 files 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 |
