aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/native/MacWindow.m
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-09-27 14:57:20 +0200
committerSven Gothel <[email protected]>2011-09-27 14:57:20 +0200
commitac49f30cde53f75d74a9e605dbc255df5852bdc2 (patch)
tree8e9b4e285c94c36d7f83e317fc9269241dda78b2 /src/newt/native/MacWindow.m
parent563ae7d45cf47e1f8f2dc2d85bb139b3214eee90 (diff)
NEWT/OSX: 'Better' child window positioning, still, after reparenting into parent,
a white window rectangle remains. .. we also need to understand the absolute screen position better, ie. when required and when not (at window creation currently).
Diffstat (limited to 'src/newt/native/MacWindow.m')
-rw-r--r--src/newt/native/MacWindow.m12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/newt/native/MacWindow.m b/src/newt/native/MacWindow.m
index a149c74af..335a1fd65 100644
--- a/src/newt/native/MacWindow.m
+++ b/src/newt/native/MacWindow.m
@@ -350,8 +350,8 @@ JNIEXPORT void JNICALL Java_jogamp_newt_driver_macosx_MacWindow_makeKeyAndOrderF
DBG_PRINT( "makeKeyAndOrderFront0 - window: %p (START)\n", win);
- [win performSelectorOnMainThread:@selector(makeKeyAndOrderFront:) withObject:win waitUntilDone:NO];
- // [win makeKeyAndOrderFront: win];
+ // [win performSelectorOnMainThread:@selector(makeKeyAndOrderFront:) withObject:win waitUntilDone:NO];
+ [win makeKeyAndOrderFront: win];
DBG_PRINT( "makeKeyAndOrderFront0 - window: %p (END)\n", win);
@@ -371,8 +371,8 @@ JNIEXPORT void JNICALL Java_jogamp_newt_driver_macosx_MacWindow_makeKey0
DBG_PRINT( "makeKey0 - window: %p (START)\n", win);
- [win performSelectorOnMainThread:@selector(makeKeyWindow:) withObject:nil waitUntilDone:NO];
- // [win makeKeyWindow];
+ // [win performSelectorOnMainThread:@selector(makeKeyWindow:) withObject:nil waitUntilDone:NO];
+ [win makeKeyWindow];
DBG_PRINT( "makeKey0 - window: %p (END)\n", win);
@@ -392,8 +392,8 @@ JNIEXPORT void JNICALL Java_jogamp_newt_driver_macosx_MacWindow_orderOut0
DBG_PRINT( "orderOut0 - window: %p (START)\n", win);
- [win performSelectorOnMainThread:@selector(orderOut:) withObject:win waitUntilDone:NO];
- // [win orderOut: win];
+ // [win performSelectorOnMainThread:@selector(orderOut:) withObject:win waitUntilDone:NO];
+ [win orderOut: win];
DBG_PRINT( "orderOut0 - window: %p (END)\n", win);