From e9f790d3533ebaee1f782e91b6e13b2c6375c86a Mon Sep 17 00:00:00 2001
From: SineStriker <55847490+SineStriker@users.noreply.github.com>
Date: 周二, 11 2月 2025 23:06:01 +0800
Subject: [PATCH] AWC: fix window attribute handler

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

diff --git a/src/core/contexts/cocoawindowcontext_p.h b/src/core/contexts/cocoawindowcontext_p.h
index f2e28cc..e35c686 100644
--- a/src/core/contexts/cocoawindowcontext_p.h
+++ b/src/core/contexts/cocoawindowcontext_p.h
@@ -30,13 +30,11 @@
         QVariant windowAttribute(const QString &key) const override;
 
     protected:
-        void winIdChanged() override;
+        void winIdChanged(WId winId, WId oldWinId) override;
         bool windowAttributeChanged(const QString &key, const QVariant &attribute,
                                     const QVariant &oldAttribute) override;
 
     protected:
-        WId windowId = 0;
-
         std::unique_ptr<SharedEventFilter> cocoaWindowEventFilter;
     };
 

--
Gitblit v1.9.1