diff --git a/kwin-5.26.2.1-revert-x11window-redraw-issue.patch b/kwin-5.26.2.1-revert-x11window-redraw-issue.patch new file mode 100644 index 0000000..8a4de94 --- /dev/null +++ b/kwin-5.26.2.1-revert-x11window-redraw-issue.patch @@ -0,0 +1,35 @@ +From 2339f7bfb7872e05fbdbd931850a74a3441b3292 Mon Sep 17 00:00:00 2001 +From: Xaver Hugl +Date: Wed, 26 Oct 2022 21:43:41 +0200 +Subject: [PATCH] x11window: revert more from 3a28c02f + +BUG: 461032 + + +(cherry picked from commit 2997fb24bb8171145ce1107df85eb3a3a4c0cf74) +--- + src/x11window.cpp | 7 +++---- + 1 file changed, 3 insertions(+), 4 deletions(-) + +diff --git a/src/x11window.cpp b/src/x11window.cpp +index c02d33b338..b7a180d317 100644 +--- a/src/x11window.cpp ++++ b/src/x11window.cpp +@@ -4519,11 +4519,10 @@ void X11Window::changeMaximize(bool horizontal, bool vertical, bool adjust) + } + } + r.moveTopLeft(rules()->checkPosition(r.topLeft())); +- // The above code tries to center align the window followed by setting top and bottom +- // it's possible that we're in between two pixels +- r.setX(Xcb::nativeFloor(r.x())); +- r.setY(Xcb::nativeFloor(r.y())); + } ++ // The above code tries to center align the window followed by setting top and bottom ++ // it's possible that we're in between two pixels ++ r = Xcb::nativeFloor(r); + + moveResize(r); + if (options->electricBorderMaximize() && r.top() == clientArea.top()) { +-- +GitLab + diff --git a/kwin.spec b/kwin.spec index 322d8c2..5853438 100644 --- a/kwin.spec +++ b/kwin.spec @@ -1,7 +1,7 @@ %define majver %(echo %version | cut -d. -f1-2) %define plasmaver %(echo %version | cut -d. -f1-3) Name: kwin -Version: 5.26.1 +Version: 5.26.2.1 Release: 1mamba Summary: KDE Frameworks 5 window manager Group: Graphical Desktop/Applications/Environment @@ -11,6 +11,7 @@ Packager: Silvan Calarco URL: https://kde.org/ Source: http://download.kde.org/stable/plasma/%{plasmaver}/kwin-%{version}.tar.xz Patch0: kwin-5.22.5-libglvnd-1.3.4.patch +Patch1: kwin-5.26.2.1-revert-x11window-redraw-issue.patch License: GPL ## AUTOBUILDREQ-BEGIN #libKF5GlobalAccelPrivate.so.5()(64bit): .so link not found @@ -59,6 +60,7 @@ BuildRequires: liblcms2-devel BuildRequires: libmesa-devel BuildRequires: libpipewire-devel BuildRequires: libplasma-framework-devel +BuildRequires: libqaccessibilityclient-devel BuildRequires: libstdc++6-devel BuildRequires: libudev-devel BuildRequires: libwayland-devel @@ -78,6 +80,7 @@ BuildRequires: cmake BuildRequires: rpm-macros-kde5 BuildRequires: extra-cmake-modules BuildRequires: breeze +BuildRequires: libqaccessibilityclient-devel Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description @@ -112,6 +115,7 @@ This package contains libraries and header files for developing applications tha #-D -T #:<< _EOF #%patch0 -p1 +%patch1 -p1 -b .revert-x11window-redraw-issue %build #:<< _EOF @@ -236,6 +240,9 @@ This package contains libraries and header files for developing applications tha %{_libdir}/cmake/KWinEffects/KWinEffects*.cmake %changelog +* Fri Oct 28 2022 Automatic Build System 5.26.2.1-1mamba +- automatic version update by autodist + * Thu Oct 20 2022 Automatic Build System 5.26.1-1mamba - automatic version update by autodist