From 88b91b1fec752538beebca2fd92e62c8e03f32d4 Mon Sep 17 00:00:00 2001
From: Yuhang Zhao <zhaoyuhang@rankyee.com>
Date: 周二, 19 12月 2023 16:55:39 +0800
Subject: [PATCH] update win11 picture

---
 src/core/contexts/cocoawindowcontext_p.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/core/contexts/cocoawindowcontext_p.h b/src/core/contexts/cocoawindowcontext_p.h
index 4729c3f..c6c8e13 100644
--- a/src/core/contexts/cocoawindowcontext_p.h
+++ b/src/core/contexts/cocoawindowcontext_p.h
@@ -15,10 +15,12 @@
         void virtual_hook(int id, void *data) override;
 
     protected:
-        bool setupHost() override;
+        void winIdChanged(QWindow *oldWindow) override;
 
     protected:
         WId windowId = 0;
+
+        std::unique_ptr<QObject> cocoaWindowEventFilter;
     };
 
 }

--
Gitblit v1.9.1