changeset 1490:5393b56ec6d0

Autoposition code should only be run the first time on Mac, regardless of whether it was needed or not.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 24 Dec 2011 17:38:00 +0000
parents 4c1c44af201a
children d77b8cf25f04
files mac/dw.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mac/dw.m	Sat Dec 24 17:30:25 2011 +0000
+++ b/mac/dw.m	Sat Dec 24 17:38:00 2011 +0000
@@ -7618,8 +7618,8 @@
                 point.y = cy - defaulty - (int)rect.size.height - 20;
                 
                 [window setFrameOrigin:point];
-                [window setShown:YES];
             }
+            [window setShown:YES];
         }
         [[window contentView] showWindow];
         [window makeKeyAndOrderFront:nil];