diff --git a/514.patch b/514.patch new file mode 100644 index 0000000..980682e --- /dev/null +++ b/514.patch @@ -0,0 +1,24 @@ +From 1eb5a517988de2f5485f0eec45b5a9ccb441b46b Mon Sep 17 00:00:00 2001 +From: Jason Hicks +Date: Wed, 5 Jun 2019 06:34:13 -0500 +Subject: [PATCH] window-actor: Fix segfault in + meta_window_actor_should_unredirect + +--- + src/compositor/meta-window-actor.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c +index 5f14c50b..b3df3f64 100644 +--- a/src/compositor/meta-window-actor.c ++++ b/src/compositor/meta-window-actor.c +@@ -1945,6 +1945,9 @@ meta_window_actor_should_unredirect (MetaWindowActor *self) + MetaWindowActorPrivate *priv = self->priv; + MetaWindow *window = priv->window; + ++ if (!window) ++ return FALSE; ++ + if (meta_window_actor_is_destroyed (self)) + return FALSE; + diff --git a/muffin.spec b/muffin.spec index caf60d1..b339cbf 100644 --- a/muffin.spec +++ b/muffin.spec @@ -4,13 +4,14 @@ Name: muffin Version: 4.0.8 -Release: 0.4.%{gitdate}git%{shortcommit}%{?dist} +Release: 0.5.%{gitdate}git%{shortcommit}%{?dist} Summary: Window and compositing manager based on Clutter License: GPLv2+ URL: https://github.com/linuxmint/%{name} Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz Source1: muffin-adwaita.txt +Patch0: %{url}/pull/514.patch BuildRequires: desktop-file-utils BuildRequires: pkgconfig(gl) @@ -122,6 +123,9 @@ desktop-file-install --delete-original \ %{_mandir}/man1/muffin-* %changelog +* Wed Jun 05 2019 Leigh Scott - 4.0.8-0.5.20190604git5774eb2 +- Add upstream pull request #514 + * Wed Jun 05 2019 Leigh Scott - 4.0.8-0.4.20190604git5774eb2 - Update snapshot