public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Leigh Scott <leigh123linux@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/muffin] rawhide: Add patch to fix desktop stacking issue
Date: Tue, 02 Jun 2026 05:52:41 GMT	[thread overview]
Message-ID: <178037956180.1.6028288199066879725.rpms-muffin-0ba075b0707b@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-06-02  5:52 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=178037956180.1.6028288199066879725.rpms-muffin-0ba075b0707b@fedoraproject.org \
    --to=leigh123linux@gmail.com \
    --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