diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-10 13:34:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-10 13:34:01 +0100 |
commit | bba7ed73af4fe3b333cb970dc40a9098e2d1c54b (patch) | |
tree | 4a2377c9096a6e85935bc1b24a50c09537fbb3ca /kde-plasma/kwin/files/kwin-5.24.6-drm-fix-blob-updating.patch | |
parent | f69024d0d689548234c6173dc2d8a5bb466b0525 (diff) |
gentoo auto-resync : 10:10:2022 - 13:34:00
Diffstat (limited to 'kde-plasma/kwin/files/kwin-5.24.6-drm-fix-blob-updating.patch')
-rw-r--r-- | kde-plasma/kwin/files/kwin-5.24.6-drm-fix-blob-updating.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/kde-plasma/kwin/files/kwin-5.24.6-drm-fix-blob-updating.patch b/kde-plasma/kwin/files/kwin-5.24.6-drm-fix-blob-updating.patch deleted file mode 100644 index 45d231a70f1b..000000000000 --- a/kde-plasma/kwin/files/kwin-5.24.6-drm-fix-blob-updating.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 3af37c8a29af36eb773b0684237d61b2bd6b81f9 Mon Sep 17 00:00:00 2001 -From: Xaver Hugl <xaver.hugl@gmail.com> -Date: Thu, 4 Aug 2022 15:36:26 +0200 -Subject: [PATCH] backends/drm: fix blob updating - -Two things about the code were wrong: -1. m_current is used in updateBlob() but was only updated afterwards -2. the assumption that the property having the same ID means it has the -same blob contents is not always true - -BUG: 449285 - - -(cherry picked from commit 97939ceae864aef2f50e117496f548555877b4ea) ---- - src/backends/drm/drm_property.cpp | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -diff --git a/src/backends/drm/drm_property.cpp b/src/backends/drm/drm_property.cpp -index 8ab0dc0e5a..b2a2deda12 100644 ---- a/src/backends/drm/drm_property.cpp -+++ b/src/backends/drm/drm_property.cpp -@@ -112,10 +112,8 @@ bool DrmProperty::needsCommit() const - - void DrmProperty::setCurrent(uint64_t value) - { -- if (m_current != value) { -- updateBlob(); -- m_current = value; -- } -+ m_current = value; -+ updateBlob(); - } - - uint64_t DrmProperty::current() const --- -GitLab - |