comparison mac/dw.m @ 948:e48384ca49b7

Oops left in a debug message from testing.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 30 Apr 2011 21:50:49 +0000
parents c9f6ba940453
children 451c71b7fdb1
comparison
equal deleted inserted replaced
947:c9f6ba940453 948:e48384ca49b7
7538 7538
7539 if([ object isKindOfClass:[ NSWindow class ] ]) 7539 if([ object isKindOfClass:[ NSWindow class ] ])
7540 { 7540 {
7541 NSWindow *window = handle; 7541 NSWindow *window = handle;
7542 point.y -= [window frame].size.height; 7542 point.y -= [window frame].size.height;
7543 NSLog(@"Setting position %dx%d screen height %d frame height %d new y %d",
7544 (int)x, (int)y, (int)[[NSScreen mainScreen] frame].size.height, (int)[window frame].size.height, (int)point.y);
7545 [window setFrameOrigin:point]; 7543 [window setFrameOrigin:point];
7546 } 7544 }
7547 DW_MUTEX_UNLOCK; 7545 DW_MUTEX_UNLOCK;
7548 } 7546 }
7549 7547