diff --git a/CMakeLists.txt b/CMakeLists.txt index abf31c668..53203f55c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.16.0) project(kwin_better_blur) -set(PROJECT_VERSION "1.3.1") +set(PROJECT_VERSION "1.3.2") set(PROJECT_VERSION_MAJOR 0) set(KF_MIN_VERSION "5.240.0") diff --git a/package.nix b/package.nix index f28a9dfae..da713a06d 100644 --- a/package.nix +++ b/package.nix @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { pname = "kwin-better-blur"; - version = "1.3.1"; + version = "1.3.2"; src = ./.; diff --git a/src/blur.cpp b/src/blur.cpp index 1b838eaca..03e2a4887 100644 --- a/src/blur.cpp +++ b/src/blur.cpp @@ -567,7 +567,7 @@ QRegion BlurEffect::decorationBlurRegion(const EffectWindow *w) const return QRegion(); } - QRegion decorationRegion = QRegion(w->decoration()->rect()) - w->decorationInnerRect().toRect(); + QRegion decorationRegion = QRegion(w->decoration()->rect()) - w->contentsRect().toRect(); //! we return only blurred regions that belong to decoration region return decorationRegion.intersected(w->decoration()->blurRegion()); } @@ -588,7 +588,7 @@ QRegion BlurEffect::blurRegion(EffectWindow *w) const if (frame.has_value()) { region = frame.value(); } - region += content->translated(w->contentsRect().topLeft().toPoint()) & w->decorationInnerRect().toRect(); + region += content->translated(w->contentsRect().topLeft().toPoint()) & w->contentsRect().toRect(); } } else if (frame.has_value()) { region = frame.value();