From 58995bfc8cf1cd2b1df027bcc300fd726f50d281 Mon Sep 17 00:00:00 2001 From: Anthony Petrov Date: Tue, 1 Mar 2011 13:49:56 +0300 Subject: [PATCH] 7022488: The security warning may disappear unexpectedly Initialize the fullScreenExclusiveModeState flag in the AwtWindow constructor Reviewed-by: art, dcherepanov --- jdk/src/windows/native/sun/windows/awt_Window.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jdk/src/windows/native/sun/windows/awt_Window.cpp b/jdk/src/windows/native/sun/windows/awt_Window.cpp index a5dbfa3bf31..a6a5eb64ffa 100644 --- a/jdk/src/windows/native/sun/windows/awt_Window.cpp +++ b/jdk/src/windows/native/sun/windows/awt_Window.cpp @@ -221,6 +221,8 @@ AwtWindow::AwtWindow() { m_windowType = NORMAL; m_alwaysOnTop = false; + + fullScreenExclusiveModeState = FALSE; } AwtWindow::~AwtWindow()