public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mutter] f45: Backport MR #5310 to fix gtkui unresponsiveness (#5033)
@ 2026-09-10 21:48 Adam Williamson
  0 siblings, 0 replies; only message in thread
From: Adam Williamson @ 2026-09-10 21:48 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

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

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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-10 21:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-10 21:48 [rpms/mutter] f45: Backport MR #5310 to fix gtkui unresponsiveness (#5033) Adam Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox