From c5d165d4be08f879962bbc5f766f1573904db100 Mon Sep 17 00:00:00 2001 From: MoonKnight76 <9157548+MoonKnight76@users.noreply.github.com> Date: Fri, 11 Mar 2022 15:26:24 +0100 Subject: [PATCH 1/2] Added -p to mkdir to only recompile changed files instead of everything --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d09ff61..26dc4ef 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ all: cmake release: - mkdir build && cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -H./ -B./build -G Ninja + mkdir -p build && cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -H./ -B./build -G Ninja cmake --build ./build --config Release --target all -j 10 debug: - mkdir build && cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Debug -H./ -B./build -G Ninja + mkdir -p build && cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Debug -H./ -B./build -G Ninja cmake --build ./build --config Debug --target all -j 10 clear: From 9bd42cd12fc562e082bd65293ade160f93db071a Mon Sep 17 00:00:00 2001 From: MoonKnight76 <9157548+MoonKnight76@users.noreply.github.com> Date: Fri, 11 Mar 2022 15:31:59 +0100 Subject: [PATCH 2/2] Disabled round corners when in pseudo-fullscreen --- src/windowManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windowManager.cpp b/src/windowManager.cpp index 0fc54c1..df24510 100644 --- a/src/windowManager.cpp +++ b/src/windowManager.cpp @@ -765,7 +765,7 @@ void CWindowManager::applyShapeToWindow(CWindow* pWindow) { if (!pWindow) return; - const auto ROUNDING = pWindow->getFullscreen() ? 0 : ConfigManager::getInt("rounding"); + const auto ROUNDING = pWindow->getFullscreen() || (ConfigManager::getInt("layout:no_gaps_when_only") && getWindowsOnWorkspace(pWindow->getWorkspaceID()) == 1) ? 0 : ConfigManager::getInt("rounding"); const auto SHAPEQUERY = xcb_get_extension_data(DisplayConnection, &xcb_shape_id);