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:
56d2f94
)
position is a function
author
Dana Jansens
<danakj@orodu.net>
Wed, 19 Feb 2003 01:17:38 +0000
(
01:17
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 19 Feb 2003 01:17:38 +0000
(
01:17
+0000)
scripts/motion.py
patch
|
blob
|
history
diff --git
a/scripts/motion.py
b/scripts/motion.py
index cc17803b794444b6c60c286d9521614aa3602601..0ce865a3f39d8b41efc103681709eff03318bbdf 100644
(file)
--- a/
scripts/motion.py
+++ b/
scripts/motion.py
@@
-105,8
+105,8
@@
def _place_popup():
except: x = y = 0
if x < 0: x += area.right() - size.width() + 2
if y < 0: y += area.bottom() - size.height() + 2
- x += area.position.x()
- y += area.position.y()
+ x += area.position
()
.x()
+ y += area.position
()
.y()
_popwidget.moveresize(otk.Rect(x, y, size.width(), size.height()))
def _motion_grab(data):