From bb0e491545c2f81d0e1801bdebeaa938ada9bfe9 Mon Sep 17 00:00:00 2001 From: kateleet Date: Mon, 29 Nov 2021 01:52:10 +0800 Subject: [PATCH] Fix build in gentoo --- config/kwinrc | 2 +- plugins/decoration/CMakeLists.txt | 3 ++- plugins/roundedwindow/roundedwindow.cpp | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/config/kwinrc b/config/kwinrc index 21ee5d4..4707401 100644 --- a/config/kwinrc +++ b/config/kwinrc @@ -49,7 +49,7 @@ HighlightWindows=true LayoutName=cutefish_thumbnail MinimizedMode=0 MultiScreenMode=0 -ShowDesktopMode=0 +ShowDesktopMode=1 ShowTabBox=true SwitchingMode=0 diff --git a/plugins/decoration/CMakeLists.txt b/plugins/decoration/CMakeLists.txt index a90b7fa..ec720ec 100644 --- a/plugins/decoration/CMakeLists.txt +++ b/plugins/decoration/CMakeLists.txt @@ -5,7 +5,7 @@ find_package(KF5CoreAddons REQUIRED) find_package(KF5Config REQUIRED) find_package(KF5WindowSystem REQUIRED) find_package(KDecoration2 REQUIRED) -find_package(Qt5 CONFIG REQUIRED COMPONENTS Gui Core X11Extras) +find_package(Qt5 CONFIG REQUIRED COMPONENTS Gui Widgets Core X11Extras) set (decoration_SRCS decoration.cpp @@ -22,6 +22,7 @@ target_link_libraries (cutefishdecoration PUBLIC Qt5::Core Qt5::Gui + Qt5::Widgets Qt5::X11Extras KF5::ConfigCore KF5::ConfigGui diff --git a/plugins/roundedwindow/roundedwindow.cpp b/plugins/roundedwindow/roundedwindow.cpp index c977e17..5121fe9 100644 --- a/plugins/roundedwindow/roundedwindow.cpp +++ b/plugins/roundedwindow/roundedwindow.cpp @@ -47,6 +47,9 @@ static QStringList allowList = { "netease-cloud-music netease-cloud-music", "xmind xmind", "mtxx mtxx", + // Wine + "wechat.exe wechat.exe", + // Open source software "code code", "motrix motrix"