diff options
author | Sven Gothel <[email protected]> | 2013-03-20 16:15:04 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-03-20 16:15:04 +0100 |
commit | ec50802db11f897a49a6f9e716186c700411ece5 (patch) | |
tree | 04b2f23663aaf8e9d71421c0f1447ddb2f20802e /src/newt/native/X11Screen.c | |
parent | 30b2490eef5069214eb6cc0c1b18ddb62c15123b (diff) |
OSX/NEWT: Fix native window parenting freeze, invisible/orderOut0, Position bugs w/ parenting
Fix native window parenting freeze:
- Pull out setJavaWindowObject(..) of changeContentView(..) to be called seperately,
add param for changeContentView(..) to enable/disable setJavaWindowObject()
- initWindow0(..):
- Call changeContentView(..) w/o setJavaWindowObject()
- setJavaWindowObject(..) at end of initialization
Fix native window parenting orderOut0:
If parent window is invisible or no parent used call orderOut(..),
otherwise call orderBack().
Fix updatePosition(..): positionChanged(..) - Position bug w/ parenting
- AWT parent passed 0/0
- call positionChanged(..) w/ client-pos instead of screen-pos
Fix getLocationOnScreenImpl(..) - Position bug w/ parenting
- Position < 0/0 is valid!
Misc:
- setWindowClientTopLeftPointAndSize0(..), setWindowClientTopLeftPoint0(..):
Add 'display' param, deciding whether area should be display (invalidated)
Diffstat (limited to 'src/newt/native/X11Screen.c')
0 files changed, 0 insertions, 0 deletions