diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-01 10:36:34 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-01 10:36:34 +0000 |
| commit | 41a03629c9f166f7a1b427ed1634b44c6c38da6e (patch) | |
| tree | ba6b0636006f401105a758aab4df6496a1d2af56 /scripts/windowplacement.py | |
| parent | b18e83e010a9dec95d42296751469aba0960bc5c (diff) | |
better historyplacement
Diffstat (limited to 'scripts/windowplacement.py')
| -rw-r--r-- | scripts/windowplacement.py | 3 |
1 files changed, 2 insertions, 1 deletions
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() |
