From 0586c98f90866e4bc9f0dfe73aefb0a07c56697e Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周二, 12 12月 2023 15:44:14 +0800
Subject: [PATCH] Add win10 border handler

---
 src/core/contexts/qtwindowcontext.cpp |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/core/contexts/qtwindowcontext.cpp b/src/core/contexts/qtwindowcontext.cpp
index 0eaf7c8..9baa24c 100644
--- a/src/core/contexts/qtwindowcontext.cpp
+++ b/src/core/contexts/qtwindowcontext.cpp
@@ -46,6 +46,13 @@
     QtWindowContext::~QtWindowContext() {
     }
 
+    QString QtWindowContext::key() const {
+        return QStringLiteral("qt");
+    }
+
+    void QtWindowContext::virtual_hook(int id, void *data) {
+    }
+
     bool QtWindowContext::setupHost() {
         return false;
     }

--
Gitblit v1.9.1