From 0fa6eeaebcb3af404fb0702b7de23b526ca5442b Mon Sep 17 00:00:00 2001 From: hyzboy Date: Mon, 13 May 2019 13:36:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=AA=97=E5=8F=A3=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E5=90=8E=E4=BE=9D=E7=84=B6=E5=9C=A8WAIT=20MESSAGE?= =?UTF-8?q?=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Platform/Window.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Platform/Window.cpp b/src/Platform/Window.cpp index 40906cc6..e11860aa 100644 --- a/src/Platform/Window.cpp +++ b/src/Platform/Window.cpp @@ -93,9 +93,12 @@ namespace hgl { } + if(is_close) + return(false); + if(!active||is_min) this->WaitMessage(); - return(!is_close); + return(true); } }//namespace hgl