From 6220bed82f5635ce15af2c3a493b9418635f03d8 Mon Sep 17 00:00:00 2001 From: taj-ny <79316397+taj-ny@users.noreply.github.com> Date: Sun, 10 Mar 2024 16:00:56 +0100 Subject: [PATCH 1/3] use the windowExpandedGeometryChanged signal instead of windowFrameGeometryChanged (#11) --- src/blur.cpp | 6 +++--- src/blur.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/blur.cpp b/src/blur.cpp index 662bb4329..de0721f6c 100644 --- a/src/blur.cpp +++ b/src/blur.cpp @@ -326,7 +326,7 @@ void BlurEffect::slotWindowAdded(EffectWindow *w) }); } - windowFrameGeometryChangedConnections[w] = connect(w, &EffectWindow::windowFrameGeometryChanged, this, [this,w]() { + windowExpandedGeometryChangedConnections[w] = connect(w, &EffectWindow::windowExpandedGeometryChanged, this, [this,w]() { if (w) { updateBlurRegion(w); } @@ -352,9 +352,9 @@ void BlurEffect::slotWindowDeleted(EffectWindow *w) disconnect(*it); windowBlurChangedConnections.erase(it); } - if (auto it = windowFrameGeometryChangedConnections.find(w); it != windowFrameGeometryChangedConnections.end()) { + if (auto it = windowExpandedGeometryChangedConnections.find(w); it != windowExpandedGeometryChangedConnections.end()) { disconnect(*it); - windowFrameGeometryChangedConnections.erase(it); + windowExpandedGeometryChangedConnections.erase(it); } } diff --git a/src/blur.h b/src/blur.h index 653d35721..9de65afc2 100644 --- a/src/blur.h +++ b/src/blur.h @@ -159,7 +159,7 @@ public Q_SLOTS: QList blurStrengthValues; QMap windowBlurChangedConnections; - QMap windowFrameGeometryChangedConnections; + QMap windowExpandedGeometryChangedConnections; std::unordered_map m_windows; static BlurManagerInterface *s_blurManager; From ff6d808285a4e042fa0ff3ea059cb51527d976f7 Mon Sep 17 00:00:00 2001 From: taj-ny <79316397+taj-ny@users.noreply.github.com> Date: Sun, 10 Mar 2024 18:13:40 +0100 Subject: [PATCH 2/3] bump version --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 56397cbca..00c010cc0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.16.0) project(forceblur) -set(PROJECT_VERSION "1.1.0") +set(PROJECT_VERSION "1.1.1") set(PROJECT_VERSION_MAJOR 0) set(KF_MIN_VERSION "5.240.0") From c8e2bc0b8fc9eebe7df0b296ddcfa45171a8fd17 Mon Sep 17 00:00:00 2001 From: taj-ny <79316397+taj-ny@users.noreply.github.com> Date: Sun, 10 Mar 2024 18:17:02 +0100 Subject: [PATCH 3/3] metadata: add author --- src/metadata.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/metadata.json b/src/metadata.json index 55d7cb389..4de720e66 100644 --- a/src/metadata.json +++ b/src/metadata.json @@ -1,5 +1,10 @@ { "KPlugin": { + "Authors": [ + { + "Name": "taj_ny" + } + ], "Category": "Appearance", "Description": "Blurs the background behind semi-transparent windows", "EnabledByDefault": false,