From 3bd51f2a6db8fcf27ac1f2fac368fc0bf727d0c1 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Wed, 16 Dec 2020 15:31:12 +0000 Subject: [PATCH] x11-wm/plasma5-kwin: disable buffer age after r556929 PR: 251836 Approved by: ? --- x11-wm/plasma5-kwin/Makefile | 1 + x11-wm/plasma5-kwin/files/patch-iris | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 x11-wm/plasma5-kwin/files/patch-iris diff --git a/x11-wm/plasma5-kwin/Makefile b/x11-wm/plasma5-kwin/Makefile index f76c5c06a82c..df793058e933 100644 --- a/x11-wm/plasma5-kwin/Makefile +++ b/x11-wm/plasma5-kwin/Makefile @@ -2,6 +2,7 @@ PORTNAME= kwin DISTVERSION= ${KDE_PLASMA_VERSION} +PORTREVISION= 1 CATEGORIES= x11-wm kde kde-plasma MAINTAINER= kde@FreeBSD.org diff --git a/x11-wm/plasma5-kwin/files/patch-iris b/x11-wm/plasma5-kwin/files/patch-iris new file mode 100644 index 000000000000..a01fae6d7cd9 --- /dev/null +++ b/x11-wm/plasma5-kwin/files/patch-iris @@ -0,0 +1,13 @@ +iris GLX_EXT_buffer_age freezes kwin_x11 but not picom. Why? + +--- plugins/platforms/x11/standalone/glxbackend.cpp.orig 2020-12-01 11:28:26 UTC ++++ plugins/platforms/x11/standalone/glxbackend.cpp +@@ -224,7 +224,7 @@ void GlxBackend::init() + if (hasExtension(QByteArrayLiteral("GLX_EXT_buffer_age"))) { + const QByteArray useBufferAge = qgetenv("KWIN_USE_BUFFER_AGE"); + +- if (useBufferAge != "0") ++ if (useBufferAge == "1") + setSupportsBufferAge(true); + } +