git » kwin.git » commit 7b7f394

Properly unredirect windows if compositing is not possible

author Antonio Rojas
2021-10-18 11:28:40 UTC
committer Antonio Rojas
2021-10-18 11:28:40 UTC
parent a858f22ee1c7f678e0aab7ea15ad748d8322fa0f

Properly unredirect windows if compositing is not possible

PKGBUILD +9 -3

diff --git a/PKGBUILD b/PKGBUILD
index e111b24..0a8a9de 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=kwin
 pkgver=5.23.0
-pkgrel=1
+pkgrel=2
 pkgdesc='An easy to use, but flexible, composited Window Manager'
 arch=(x86_64)
 url='https://kde.org/plasma-desktop/'
@@ -14,15 +14,21 @@ depends=(kscreenlocker xcb-util-cursor plasma-framework kcmutils kwayland-server
 makedepends=(extra-cmake-modules qt5-tools kdoctools krunner)
 optdepends=('maliit-keyboard: virtual keyboard for kwin-wayland')
 groups=(plasma)
-source=(https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz{,.sig})
+source=(https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz{,.sig}
+        https://invent.kde.org/plasma/kwin/-/commit/85f8a533.patch)
 install=$pkgname.install
 sha256sums=('ba74f70648faa3c92c88e1b77916c6abd7fcad1af9e717a39dc9df278f1a551f'
-            'SKIP')
+            'SKIP'
+            '2c42a47dd1d62cde93d3d392d42056689d8fdbc24cd8497bd29adf113e16a7be')
 validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D'  # Jonathan Esk-Riddell <jr@jriddell.org>
               '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D'  # Bhushan Shah <bshah@kde.org>
               'D07BD8662C56CB291B316EB2F5675605C74E02CF'  # David Edmundson <davidedmundson@kde.org>
               '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < 85f8a533.patch # Properly unredirect windows if compositing is not possible
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DCMAKE_INSTALL_LIBEXECDIR=lib \