diff options
| author | Matthias Clasen <mclasen@fedoraproject.org> | 2008-12-15 17:02:59 +0000 |
|---|---|---|
| committer | Matthias Clasen <mclasen@fedoraproject.org> | 2008-12-15 17:02:59 +0000 |
| commit | c1d2222e4e803fc0da9ee692b39d971596fbbd32 (patch) | |
| tree | 9fc438e36119e19765318b817e31f07986c7f7fa | |
| parent | 7df834fb27189cef6b5cdc925bb70c234836d847 (diff) | |
Clean _NET_SUPPORTING_WM_CHECK on shutdownmetacity-2_24_0-4_fc10
| -rw-r--r-- | metacity-scrub-wmcheck.patch | 26 | ||||
| -rw-r--r-- | metacity.spec | 8 |
2 files changed, 33 insertions, 1 deletions
diff --git a/metacity-scrub-wmcheck.patch b/metacity-scrub-wmcheck.patch new file mode 100644 index 0000000..e0b6f80 --- /dev/null +++ b/metacity-scrub-wmcheck.patch @@ -0,0 +1,26 @@ +diff -up metacity-2.25.34/src/core/screen.c.scrub-wmcheck metacity-2.25.34/src/core/screen.c +--- metacity-2.25.34/src/core/screen.c.scrub-wmcheck 2008-12-15 00:12:33.000000000 -0500 ++++ metacity-2.25.34/src/core/screen.c 2008-12-15 00:15:56.000000000 -0500 +@@ -86,6 +86,13 @@ set_wm_check_hint (MetaScreen *screen) + return Success; + } + ++static void ++unset_wm_check_hint (MetaScreen *screen) ++{ ++ XDeleteProperty (screen->display->xdisplay, screen->xroot, ++ screen->display->atom__NET_SUPPORTING_WM_CHECK); ++} ++ + static int + set_supported_hint (MetaScreen *screen) + { +@@ -661,6 +668,8 @@ meta_screen_free (MetaScreen *screen, + meta_warning (_("Could not release screen %d on display \"%s\"\n"), + screen->number, screen->display->name); + ++ unset_wm_check_hint (screen); ++ + XDestroyWindow (screen->display->xdisplay, + screen->wm_sn_selection_window); + diff --git a/metacity.spec b/metacity.spec index 408d343..1a21bab 100644 --- a/metacity.spec +++ b/metacity.spec @@ -1,7 +1,7 @@ Summary: Metacity window manager Name: metacity Version: 2.24.0 -Release: 3%{?dist} +Release: 4%{?dist} URL: http://download.gnome.org/sources/metacity/ Source0: http://download.gnome.org/sources/metacity/2.24/metacity-%{version}.tar.bz2 Patch0: default-theme.patch @@ -13,6 +13,8 @@ Patch2: leaks.patch Patch3: string-leak.patch # http://bugzilla.gnome.org/show_bug.cgi?id=558723 Patch4: stop-spamming-xsession-errors.patch +# http://bugzilla.gnome.org/show_bug.cgi?id=564561 +Patch5: metacity-scrub-wmcheck.patch License: GPLv2+ Group: User Interface/Desktops @@ -72,6 +74,7 @@ API. This package exists purely for technical reasons. %patch2 -p1 -b .leaks %patch3 -p1 -b .string-leak %patch4 -p1 -b .stop-spamming-xsession-errors +%patch5 -p1 -b .scrub-wmcheck %build rm -rf $RPM_BUILD_ROOT @@ -175,6 +178,9 @@ fi %{_mandir}/man1/metacity-window-demo.1.gz %changelog +* Mon Dec 15 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-4 +- Clean _NET_SUPPORTING_WM_CHECK on shutdown + * Fri Oct 31 2008 Soren Sandmann <sandmann@redhat.com> - 2.24.0-3 - Don't spam .xsession-errors so hard (bug 467802) |
