From 12108e16e166034cd1840627502280d9a1ab0b9e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 10 Feb 2003 06:50:19 +0000 Subject: keep track of struts for each desktop --- scripts/motion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/motion.py') 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() -- cgit v1.2.3