From 564f33e8b29a6f73050f4da3f843b942aaf0d739 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周三, 08 5月 2024 19:36:16 +0800 Subject: [PATCH] Improve event filter handling --- src/core/CMakeLists.txt | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 45aa224..69f5c42 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -6,6 +6,7 @@ set(_src qwkglobal.h qwkglobal_p.h + qwkglobal.cpp windowagentbase.h windowagentbase_p.h windowagentbase.cpp @@ -15,6 +16,8 @@ kernel/nativeeventfilter.cpp kernel/sharedeventfilter_p.h kernel/sharedeventfilter.cpp + kernel/winidchangeeventfilter_p.h + kernel/winidchangeeventfilter.cpp shared/systemwindow_p.h contexts/abstractwindowcontext_p.h contexts/abstractwindowcontext.cpp @@ -27,6 +30,7 @@ qwindowkit_windows.h qwindowkit_windows.cpp shared/qwkwindowsextra_p.h + shared/windows10borderhandler_p.h ) elseif(APPLE) else() @@ -82,7 +86,7 @@ list(APPEND _src style/styleagent_linux.cpp) endif() else() - list(APPEND _sync_include_options EXCLUDE "style/\\.+") + list(APPEND _sync_include_options EXCLUDE "src/core/style/\\.+") endif() qwk_add_library(${PROJECT_NAME} AUTOGEN @@ -91,7 +95,7 @@ LINKS_PRIVATE ${_links_private} QT_LINKS Core Gui QT_INCLUDE_PRIVATE Core Gui - INCLUDE_PRIVATE kernel contexts shared + INCLUDE_PRIVATE * PREFIX QWK_CORE SYNC_INCLUDE_OPTIONS ${_sync_include_options} ) -- Gitblit v1.9.1