From 7a54badb4a5782c551deb2919f3c489fdb4fbc02 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周日, 03 12月 2023 17:17:40 +0800 Subject: [PATCH] Add snap layout handling --- src/core/contexts/abstractwindowcontext_p.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/core/contexts/abstractwindowcontext_p.h b/src/core/contexts/abstractwindowcontext_p.h index c9b1374..83ad768 100644 --- a/src/core/contexts/abstractwindowcontext_p.h +++ b/src/core/contexts/abstractwindowcontext_p.h @@ -40,6 +40,7 @@ void showSystemMenu(const QPoint &pos); QRegion hitTestShape() const; + bool isInSystemButtons(const QPoint &pos, CoreWindowAgent::SystemButton *button) const; protected: QWindow *m_windowHandle; -- Gitblit v1.9.1