public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Adam Williamson <adamwill@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/mutter] rawhide: Backport MR #5310 to fix gtkui unresponsiveness (#5033)
Date: Thu, 10 Sep 2026 21:47:40 GMT	[thread overview]
Message-ID: <178907686045.1.37324521729706887.rpms-mutter-b44ca895a2b3@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/mutter
Branch : rawhide
Commit : b44ca895a2b3dcc4191dc840c95e5d5247272f9c
Author : Adam Williamson <adamwill@fedoraproject.org>
Date   : 2026-09-10T14:47:04-07:00
Stats  : +51/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/mutter/c/b44ca895a2b3dcc4191dc840c95e5d5247272f9c?branch=rawhide

Log:
Backport MR #5310 to fix gtkui unresponsiveness (#5033)

---
diff --git a/0001-clutter-frame-clock-Preserve-pending_reschedule-from.patch b/0001-clutter-frame-clock-Preserve-pending_reschedule-from.patch
new file mode 100644
index 0000000..a5b1f29
--- /dev/null
+++ b/0001-clutter-frame-clock-Preserve-pending_reschedule-from.patch
@@ -0,0 +1,47 @@
+From 345793e6a4610f0fe28186a63f127a5a6880e549 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Michel=20D=C3=A4nzer?= <mdaenzer@redhat.com>
+Date: Tue, 8 Sep 2026 16:15:44 +0200
+Subject: [PATCH] clutter/frame-clock: Preserve pending_reschedule from
+ _schedule_update*
+
+If clutter_frame_clock_schedule_update set pending_reschedule to TRUE
+(most likely because the frame clock is inhibited), we would immediately
+set it to FALSE again, which could cause malfunction.
+
+Pointed out by Sebastian Keller.
+
+Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/5310>
+---
+ clutter/clutter/clutter-frame-clock.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/clutter/clutter/clutter-frame-clock.c b/clutter/clutter/clutter-frame-clock.c
+index f13f1f6202..d00c414712 100644
+--- a/clutter/clutter/clutter-frame-clock.c
++++ b/clutter/clutter/clutter-frame-clock.c
+@@ -477,12 +477,14 @@ maybe_reschedule_update (ClutterFrameClock *frame_clock)
+     {
+       if (frame_clock->pending_reschedule_now)
+         {
++          frame_clock->pending_reschedule = FALSE;
+           frame_clock->pending_reschedule_now = FALSE;
+           clutter_frame_clock_schedule_update_now (frame_clock);
+         }
+       else if (frame_clock->pending_reschedule ||
+                !frame_clock->throttle_timelines)
+         {
++          frame_clock->pending_reschedule = FALSE;
+           frame_clock->throttle_timelines = TRUE;
+           clutter_frame_clock_schedule_update (frame_clock);
+         }
+@@ -491,7 +493,6 @@ maybe_reschedule_update (ClutterFrameClock *frame_clock)
+           clutter_frame_clock_schedule_update_throttled (frame_clock);
+         }
+ 
+-      frame_clock->pending_reschedule = FALSE;
+       return;
+     }
+ 
+-- 
+2.55.0
+

diff --git a/mutter.spec b/mutter.spec
index bcc69f3..41e923c 100644
--- a/mutter.spec
+++ b/mutter.spec
@@ -24,6 +24,10 @@ Summary:       Window and compositing manager based on Clutter
 License:       GPL-2.0-or-later
 URL:           http://www.gnome.org
 Source0:       http://download.gnome.org/sources/%{name}/%{gnome_major_version}/%{name}-%{gnome_tarball_version}.tar.xz
+# https://gitlab.gnome.org/GNOME/mutter/-/work_items/5033
+# https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/5310
+# Fix anaconda gtkui sometimes going unresponsive
+Patch:         0001-clutter-frame-clock-Preserve-pending_reschedule-from.patch
 
 %gnome_check_version
 

                 reply	other threads:[~2026-09-10 21:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178907686045.1.37324521729706887.rpms-mutter-b44ca895a2b3@fedoraproject.org \
    --to=adamwill@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox