From e1cbc7a1f19a97c7c00ba32df17b30d4cf32c630 Mon Sep 17 00:00:00 2001
From: Yuhang Zhao <zhaoyuhang@rankyee.com>
Date: 摹曛, 07 12月 2023 17:36:56 +0800
Subject: [PATCH] port sync dwm code

---
 src/core/contexts/abstractwindowcontext.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/core/contexts/abstractwindowcontext.cpp b/src/core/contexts/abstractwindowcontext.cpp
index c7a5c85..c33f98c 100644
--- a/src/core/contexts/abstractwindowcontext.cpp
+++ b/src/core/contexts/abstractwindowcontext.cpp
@@ -50,7 +50,7 @@
         // Install specific event filter
         host->installEventFilter(new EventFilterForwarder(
             [](QEvent *event, void *user) {
-                return reinterpret_cast<AbstractWindowContext *>(user)->hostEventFilter(event);
+                return static_cast<AbstractWindowContext *>(user)->hostEventFilter(event);
             },
             this, this));
 

--
Gitblit v1.9.1