Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mutter for openSUSE:Factory checked in at 2023-08-30 10:18:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mutter (Old) and /work/SRC/openSUSE:Factory/.mutter.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mutter" Wed Aug 30 10:18:52 2023 rev:209 rq:1107964 version:44.3 Changes: -------- --- /work/SRC/openSUSE:Factory/mutter/mutter.changes 2023-08-23 14:56:50.669907585 +0200 +++ /work/SRC/openSUSE:Factory/.mutter.new.1766/mutter.changes 2023-08-30 10:20:57.441163137 +0200 @@ -1,0 +2,9 @@ +Tue Aug 29 09:50:53 UTC 2023 - Alynx Zhou <alynx.z...@suse.com> + +- Add mutter-fix-clipped-redraw.patch: Previous refactor forget + to check has_buffer_age, which leads into force full redraw and + causes redraw issue with xterm on qemu. This patch fixes it. + (bsc#1210744, glgo#GNOME/mutter!3221) +- Drop mutter-revert-window_draw_issues.patch: Proper fix is added. + +------------------------------------------------------------------- Old: ---- mutter-revert-window_draw_issues.patch New: ---- mutter-fix-clipped-redraw.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mutter.spec ++++++ --- /var/tmp/diff_new_pack.xevI3v/_old 2023-08-30 10:21:00.649277649 +0200 +++ /var/tmp/diff_new_pack.xevI3v/_new 2023-08-30 10:21:00.653277791 +0200 @@ -36,8 +36,8 @@ Patch2: mutter-window-actor-Special-case-shaped-Java-windows.patch # PATCH-FIX-UPSTREAM mutter-crash-meta_context_terminate.patch bsc#1199382 glgo#GNOME/mutter#2267 xw...@suse.com -- Fix SIGSEGV in meta_context_terminate Patch3: mutter-crash-meta_context_terminate.patch -# PATCH-FIX-UPSTREAM Add mutter-revert-window_draw_issues.patch 1210744 glgo#GNOME/mutter#2771 -- Revert commit 43cee4b6: Do clipped redraws when drawing offscreen -Patch4: mutter-revert-window_draw_issues.patch +# PATCH-FIX-UPSTREAM mutter-fix-clipped-redraw.patch bsc#1210744 glgo#GNOME/mutter!3221 alynx.z...@suse.com -- Fix clipped redraw issue on qemu +Patch4: mutter-fix-clipped-redraw.patch ## SLE-only patches start at 1000 # PATCH-FEATURE-SLE mutter-SLE-bell.patch FATE#316042 bnc#889218 idon...@suse.com -- make audible bell work out of the box. ++++++ mutter-fix-clipped-redraw.patch ++++++ >From afd7d5ad1b5587eb2c4dd978f0e577d9640354be Mon Sep 17 00:00:00 2001 From: Carlos Garnacho <carl...@gnome.org> Date: Tue, 29 Aug 2023 11:21:50 +0200 Subject: [PATCH] backends: Check that buffer age is available when checking damage history This used to be the case before the refactor at commit 43cee4b6b6, use_clipped_redraw would be unset before the larger check if has_buffer_age was set, but clutter_damage_history_is_age_valid() was FALSE. This got replaced by a check just on the latter, which will also be FALSE if has_buffer_age is not present. We have other means to achieve clipped redraws, so this slight change culled all of them. Fixes: 43cee4b6b6 ("stage-impl: Do clipped redraws when drawing offscreen") Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2771 --- src/backends/meta-stage-impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/meta-stage-impl.c b/src/backends/meta-stage-impl.c index 26a7531296b..af88451d331 100644 --- a/src/backends/meta-stage-impl.c +++ b/src/backends/meta-stage-impl.c @@ -475,7 +475,7 @@ should_use_clipped_redraw (gboolean is_full_redraw, if (COGL_IS_OFFSCREEN (framebuffer)) return TRUE; - if (!buffer_has_valid_damage_history) + if (has_buffer_age && !buffer_has_valid_damage_history) { meta_topic (META_DEBUG_BACKEND, "Invalid back buffer age: forcing full redraw"); -- GitLab