--- old/modules/graphics/src/main/native-glass/mac/GlassWindow.m 2015-03-27 15:16:20.000000000 -0400 +++ new/modules/graphics/src/main/native-glass/mac/GlassWindow.m 2015-03-27 15:16:20.000000000 -0400 @@ -162,9 +162,9 @@ [button setAcceptsTouchEvents:NO]; \ [button setAction:nil]; \ [button setEnabled:NO]; \ - break; \ + default: \ + return button; \ } \ - return button; \ } \ - (void)sendEvent:(NSEvent *)event \ { \ @@ -879,10 +879,11 @@ NSView *oldView = window->view; window->view = getMacView(env, jview); - //NSLog(@" window: %@", window); - //NSLog(@" frame: %.2f,%.2f %.2fx%.2f", [window frame].origin.x, [window frame].origin.y, [window frame].size.width, [window frame].size.height); - //NSLog(@" view: %@", window->view); - //NSLog(@" frame: %.2f,%.2f %.2fx%.2f", [window->view frame].origin.x, [window->view frame].origin.y, [window->view frame].size.width, [window->view frame].size.height); + + LOG("window: %@ frame: %s", window, + [NSStringFromRect([window->nsWindow frame]) UTF8String]); + LOG("view: %@ frame: %s", window->view, + [NSStringFromRect([window->view frame]) UTF8String]); if (oldView && oldView != window->view) { [[oldView delegate] resetMouseTracking];