From 778e12cb0f0d3879a0ecf8bd6fd124dc4f1a7537 Mon Sep 17 00:00:00 2001 From: Yuhang Zhao <zhaoyuhang@rankyee.com> Date: 周一, 04 12月 2023 18:04:44 +0800 Subject: [PATCH] wip --- src/core/contexts/abstractwindowcontext_p.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/core/contexts/abstractwindowcontext_p.h b/src/core/contexts/abstractwindowcontext_p.h index c9b1374..54471fe 100644 --- a/src/core/contexts/abstractwindowcontext_p.h +++ b/src/core/contexts/abstractwindowcontext_p.h @@ -40,6 +40,8 @@ void showSystemMenu(const QPoint &pos); QRegion hitTestShape() const; + bool isInSystemButtons(const QPoint &pos, CoreWindowAgent::SystemButton *button) const; + bool isInTitleBarDraggableArea(const QPoint &pos) const; protected: QWindow *m_windowHandle; -- Gitblit v1.9.1