From dfc3457cabeb57be46228816127ee32abf609853 Mon Sep 17 00:00:00 2001
From: Yuhang Zhao <zhaoyuhang@rankyee.com>
Date: 周三, 06 12月 2023 16:42:39 +0800
Subject: [PATCH] move window to center before show

---
 src/core/contexts/win32windowcontext_p.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/core/contexts/win32windowcontext_p.h b/src/core/contexts/win32windowcontext_p.h
index 269530e..b8b8fea 100644
--- a/src/core/contexts/win32windowcontext_p.h
+++ b/src/core/contexts/win32windowcontext_p.h
@@ -45,6 +45,8 @@
         // Whether the last mouse leave message is blocked, mainly for handling the unexpected
         // WM_MOUSELEAVE.
         bool mouseLeaveBlocked = false;
+
+        bool centered = false;
     };
 
 }

--
Gitblit v1.9.1