From 41a03629c9f166f7a1b427ed1634b44c6c38da6e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 1 Feb 2003 10:36:34 +0000 Subject: better historyplacement --- scripts/windowplacement.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/windowplacement.py') diff --git a/scripts/windowplacement.py b/scripts/windowplacement.py index 070cc0ee..aa9271ba 100644 --- a/scripts/windowplacement.py +++ b/scripts/windowplacement.py @@ -3,7 +3,7 @@ ### ob.EventAction.PlaceWindow event. ### ### ### ### Also see historyplacement.py for the history placement module which ### -### provides an algorithm that can be used in place of, or alongside ### +### provides an algorithm that can be used in place of, or alongside, ### ### these. ### ############################################################################ @@ -15,6 +15,7 @@ _rand = random.Random() def random(data): if not data.client: return + if data.client.positionRequested(): return client_area = data.client.area() frame_size = data.client.frame.size() screen_area = ob.openbox.screen(data.screen).area() -- cgit v1.2.3