diff options
author | Sven Gothel <[email protected]> | 2012-11-30 15:50:22 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-11-30 15:50:22 +0100 |
commit | 1f360ff73901b0a48f9ee310d8f2e5c4aad1e101 (patch) | |
tree | 8f36790ccf8c61c440d339f3545589155c7f2c2b /doc/wiki | |
parent | 4d9f7514ccea1669405a511d054b0fca8eae7550 (diff) |
NEWT WindowImpl: Don't issue native resize if invisible, simply use defineSize(..); Don't set persitent undecorated flag if child window at creation; Use local 'screen' directly.
- Don't issue native resize if invisible, simply use defineSize(..)
Invisible windows may not promote size change natively,
hence simply setting the size via defineSize(..) is appropriate.
Latter setVisible(true) will take size into account.
- Don't set persitent undecorated flag if child window at creation
Even if a window is a child at creation, it maybe reparented to top-level
where the default behavior is to be expected.
Undecorated top-level window shall require explicit setUndecorated(true).
- Use local 'screen' directly.
No need to make code more complicate ..
Diffstat (limited to 'doc/wiki')
0 files changed, 0 insertions, 0 deletions