diff --git a/mutter-3.15.92.tar.xz b/mutter-3.15.92.tar.xz deleted file mode 100644 index d1dd420..0000000 --- a/mutter-3.15.92.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:09010577ae543d9a2fffd025d51dc720fb1a685bb0bef0ebe82badc5f0af41ea -size 1551480 diff --git a/mutter-3.16.0.tar.xz b/mutter-3.16.0.tar.xz new file mode 100644 index 0000000..d99a4fe --- /dev/null +++ b/mutter-3.16.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b2c052cee7edd1ef34d501c4203ec9bc5f15a52a157d1595f3bc5268ca840695 +size 1548808 diff --git a/mutter-nvidia-repaint-on-resume.patch b/mutter-nvidia-repaint-on-resume.patch new file mode 100644 index 0000000..16b3890 --- /dev/null +++ b/mutter-nvidia-repaint-on-resume.patch @@ -0,0 +1,70 @@ +From 6b3be51ca862b7c878a03c7ee730f3e3abaa2daa Mon Sep 17 00:00:00 2001 +From: Rui Matos +Date: Thu, 19 Mar 2015 14:58:25 +0100 +Subject: meta-background: Add a function to refresh all background instances + +We need to reload the FBOs under some circumstances, this adds a way +to easily do so. + +https://bugzilla.gnome.org/show_bug.cgi?id=739178 + +diff --git a/src/compositor/meta-background.c b/src/compositor/meta-background.c +index 0370f55..75fbc28 100644 +--- a/src/compositor/meta-background.c ++++ b/src/compositor/meta-background.c +@@ -71,6 +71,8 @@ enum + + G_DEFINE_TYPE (MetaBackground, meta_background, G_TYPE_OBJECT) + ++static GSList *all_backgrounds = NULL; ++ + static void + free_fbos (MetaBackground *self) + { +@@ -291,6 +293,8 @@ meta_background_dispose (GObject *object) + static void + meta_background_finalize (GObject *object) + { ++ all_backgrounds = g_slist_remove (all_backgrounds, object); ++ + G_OBJECT_CLASS (meta_background_parent_class)->finalize (object); + } + +@@ -333,6 +337,7 @@ meta_background_init (MetaBackground *self) + self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, + META_TYPE_BACKGROUND, + MetaBackgroundPrivate); ++ all_backgrounds = g_slist_prepend (all_backgrounds, self); + } + + static void +@@ -899,3 +904,12 @@ meta_background_set_blend (MetaBackground *self, + free_wallpaper_texture (self); + mark_changed (self); + } ++ ++void ++meta_background_refresh_all (void) ++{ ++ GSList *l; ++ ++ for (l = all_backgrounds; l; l = l->next) ++ mark_changed (l->data); ++} +diff --git a/src/meta/meta-background.h b/src/meta/meta-background.h +index 38706dc..aa7c707 100644 +--- a/src/meta/meta-background.h ++++ b/src/meta/meta-background.h +@@ -57,6 +57,8 @@ struct _MetaBackground + MetaBackgroundPrivate *priv; + }; + ++void meta_background_refresh_all (void); ++ + GType meta_background_get_type (void); + + MetaBackground *meta_background_new (MetaScreen *screen); +-- +cgit v0.10.2 + + diff --git a/mutter.changes b/mutter.changes index c2058e6..9c3b95c 100644 --- a/mutter.changes +++ b/mutter.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Mar 23 20:31:42 UTC 2015 - dimstar@opensuse.org + +- Update to version 3.16.0: + + wayland: Don't skip notifying about initial maximized state + (bgo#745303). + + Updated translations. +- Add mutter-nvidia-repaint-on-resume.patch: Add a function to + refresh all background instances (boo#914149, bgo#739178). + ------------------------------------------------------------------- Wed Mar 18 08:41:11 UTC 2015 - dimstar@opensuse.org diff --git a/mutter.spec b/mutter.spec index 4b6345b..332f6b5 100644 --- a/mutter.spec +++ b/mutter.spec @@ -23,13 +23,15 @@ %endif Name: mutter -Version: 3.15.92 +Version: 3.16.0 Release: 0 Summary: Window and compositing manager based on Clutter License: GPL-2.0+ Group: System/GUI/GNOME Url: http://www.gnome.org -Source: http://download.gnome.org/sources/mutter/3.15/%{name}-%{version}.tar.xz +Source: http://download.gnome.org/sources/mutter/3.16/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM mutter-nvidia-repaint-on-resume.patch boo#9141409 bgo#739178 dimstar@opensuse.org -- meta-background: Add a function to refresh all background instances +Patch0: mutter-nvidia-repaint-on-resume.patch BuildRequires: fdupes BuildRequires: gobject-introspection-devel >= 0.9.5 BuildRequires: intltool