summaryrefslogtreecommitdiff
path: root/scripts/motion.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/motion.py')
-rw-r--r--scripts/motion.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/motion.py b/scripts/motion.py
index 2d6939c5..e0a1d352 100644
--- a/scripts/motion.py
+++ b/scripts/motion.py
@@ -106,7 +106,7 @@ def _do_move():
w = _client.area().width() + fs.left + fs.right
h = _client.area().height() + fs.top + fs.bottom
# use the area based on the struts
- area = ob.openbox.screen(_screen).area()
+ area = ob.openbox.screen(_screen).area(_client.desktop())
l = area.left()
r = area.right() - w + 1
t = area.top()