From 2934c9814daf7ae053c3f03957961a2e62125aee Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 7 Sep 2011 01:48:51 +0200 Subject: Fix commit e1ecd85a9d5877861cde35baababb298d1339898 - send resize event on ScreenMode Change --- src/newt/classes/jogamp/newt/WindowImpl.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/newt/classes') 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 } } -- cgit v1.2.3