public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/muffin] rawhide: Add patch to fix desktop stacking issue
@ 2026-06-02 5:52 Leigh Scott
0 siblings, 0 replies; only message in thread
From: Leigh Scott @ 2026-06-02 5:52 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/muffin
Branch : rawhide
Commit : 0ba075b0707b342104b441db8b5ad708a18d9cee
Author : Leigh Scott <leigh123linux@gmail.com>
Date : 2026-06-02T06:52:30+01:00
Stats : +40/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/muffin/c/0ba075b0707b342104b441db8b5ad708a18d9cee?branch=rawhide
Log:
Add patch to fix desktop stacking issue
---
diff --git a/babfe8a9e1312bb98562fcedae5142937f70d414.patch b/babfe8a9e1312bb98562fcedae5142937f70d414.patch
new file mode 100644
index 0000000..0654e0e
--- /dev/null
+++ b/babfe8a9e1312bb98562fcedae5142937f70d414.patch
@@ -0,0 +1,35 @@
+From babfe8a9e1312bb98562fcedae5142937f70d414 Mon Sep 17 00:00:00 2001
+From: Michael Webster <miketwebster@gmail.com>
+Date: Mon, 1 Jun 2026 20:41:04 -0400
+Subject: [PATCH] compositor.c (x11): Sink the background actors to the bottom
+ of the window_group when adding them.
+
+Prior to 3f763658 (wlr-layer-shell support) we created background
+actors once at Cinnamon startup, and they never needed restacking.
+
+Now their creation is deferred until the monitor manager is
+initialized, which may be after other windows have been added to
+the group (like nemo-desktop), so we need to make sure they get
+sent to the bottom.
+---
+ src/compositor/compositor.c | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c
+index 52479b0b4..a9a1ddfb0 100644
+--- a/src/compositor/compositor.c
++++ b/src/compositor/compositor.c
+@@ -607,6 +607,13 @@ rebuild_x11_background_actors (MetaCompositor *compositor)
+ clutter_actor_set_size (actor, rect.width, rect.height);
+
+ clutter_actor_add_child (priv->window_group, actor);
++
++ /* add_child() stacks the actor at the top of the window group. On a
++ * monitors-changed rebuild that leaves the new background above the
++ * desktop windows (bottom_window_group) until the next restack.
++ * Sink it to the bottom where backgrounds belong. */
++ clutter_actor_set_child_below_sibling (priv->window_group, actor, NULL);
++
+ priv->background_actors = g_list_append (priv->background_actors, actor);
+ }
+ }
diff --git a/muffin.spec b/muffin.spec
index d47cada..ff40ac5 100644
--- a/muffin.spec
+++ b/muffin.spec
@@ -2,7 +2,7 @@
Name: muffin
Version: 6.7.1^unstable
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Window and compositing manager based on Clutter
# Automatically converted from old format: GPLv2+ - review is highly recommended.
@@ -10,6 +10,7 @@ License: GPL-2.0-or-later
URL: https://github.com/linuxmint/%{name}
Source0: %url/archive/%{upstream_version}/%{name}-%{upstream_version}.tar.gz
Patch0: 0001-Wayland-Fix-nvidia-refresh-rate-when-running-nvidia-.patch
+Patch1: %url/commit/babfe8a9e1312bb98562fcedae5142937f70d414.patch
ExcludeArch: %{ix86}
@@ -132,6 +133,9 @@ rm -rf %{buildroot}%{_datadir}/applications/
%{_libdir}/pkgconfig/*
%changelog
+* Tue Jun 02 2026 Leigh Scott <leigh123linux@gmail.com> - 6.7.1^unstable-2
+- Add patch to fix desktop stacking issue
+
* Sat May 23 2026 Leigh Scott <leigh123linux@gmail.com> - 6.7.1^unstable-1
- Update to 6.7.1-unstable
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-02 5:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-02 5:52 [rpms/muffin] rawhide: Add patch to fix desktop stacking issue Leigh Scott
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox