From 357532958f2e806c69c96f018333a45e65e35201 Mon Sep 17 00:00:00 2001
From: Zhao Yuhang <2546789017@qq.com>
Date: 周二, 07 5月 2024 22:17:53 +0800
Subject: [PATCH] improve sysmenu behavior

---
 src/widgets/widgetwindowagent.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/widgets/widgetwindowagent.cpp b/src/widgets/widgetwindowagent.cpp
index 6ba46dd..991c28f 100644
--- a/src/widgets/widgetwindowagent.cpp
+++ b/src/widgets/widgetwindowagent.cpp
@@ -56,7 +56,7 @@
         }
 
         w->setAttribute(Qt::WA_DontCreateNativeAncestors);
-        w->setAttribute(Qt::WA_NativeWindow);
+        w->setAttribute(Qt::WA_NativeWindow); // Create new window id
 
         d->setup(w, new WidgetItemDelegate());
         d->hostWidget = w;

--
Gitblit v1.9.1