aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-09-07 01:48:51 +0200
committerSven Gothel <[email protected]>2011-09-07 01:48:51 +0200
commit2934c9814daf7ae053c3f03957961a2e62125aee (patch)
tree5ecbf491a1d8aa53115c1f7a76a707174ee91112
parent83204c6da355d3e641fb320f889b100dcd59a2a4 (diff)
Fix commit e1ecd85a9d5877861cde35baababb298d1339898 - send resize event on ScreenMode Change
-rw-r--r--src/newt/classes/jogamp/newt/WindowImpl.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newt/classes/jogamp/newt/WindowImpl.java b/src/newt/classes/jogamp/newt/WindowImpl.java
index 86aa548d0..6631505c1 100644
--- a/src/newt/classes/jogamp/newt/WindowImpl.java
+++ b/src/newt/classes/jogamp/newt/WindowImpl.java
@@ -1566,6 +1566,7 @@ public abstract class WindowImpl implements Window, NEWTEventConsumer
if(animatorPaused) {
lifecycleHook.resumeRenderingAction();
}
+ sendWindowEvent(WindowEvent.EVENT_WINDOW_RESIZED); // trigger a resize/relayout and repaint to listener
}
}