automatic version update by autodist [release 5.26.2.1-1mamba;Fri Oct 28 2022]

This commit is contained in:
Automatic Build System 2024-01-06 03:27:05 +01:00
parent 2c5d69bbce
commit 69e24b2246
2 changed files with 43 additions and 1 deletions

View File

@ -0,0 +1,35 @@
From 2339f7bfb7872e05fbdbd931850a74a3441b3292 Mon Sep 17 00:00:00 2001
From: Xaver Hugl <xaver.hugl@gmail.com>
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

View File

@ -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 <silvan.calarco@mambasoft.it>
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 <autodist@mambasoft.it> 5.26.2.1-1mamba
- automatic version update by autodist
* Thu Oct 20 2022 Automatic Build System <autodist@mambasoft.it> 5.26.1-1mamba
- automatic version update by autodist