projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d4e17d
)
off-by-one
author
Dana Jansens
<danakj@orodu.net>
Sun, 2 Feb 2003 23:57:49 +0000
(23:57 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 2 Feb 2003 23:57:49 +0000
(23:57 +0000)
scripts/motion.py
patch
|
blob
|
history
diff --git
a/scripts/motion.py
b/scripts/motion.py
index 3d6937813ddff9ce9973058624d45ba5d61bb319..174f3c8e2bebf93f455161c404e3018ad690e306 100644
(file)
--- 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