diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-05-01 21:35:15 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-05-01 21:35:15 -0300 |
commit | 4a662496845b00e9e85268bda9853ce13d5a4ba1 (patch) | |
tree | 58f64df09a3fc9eb5e4cb7fbbe600216e591bfb5 /extra/metacity | |
parent | 5a1b7efd1dfd0d0a1f4a7a4b68ea7b69f06aa6d1 (diff) | |
parent | 3be02a9acbeb006d9a9e6136c54d91064cc7d80e (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community-testing/clementine/PKGBUILD
community-testing/gedit-plugins/PKGBUILD
community-testing/giggle/PKGBUILD
community-testing/gimmie/PKGBUILD
community-testing/glipper/PKGBUILD
community-testing/gnome-system-tools/PKGBUILD
community-testing/gnote/PKGBUILD
community-testing/gnubiff/PKGBUILD
community-testing/google-gadgets/PKGBUILD
community-testing/gphpedit/PKGBUILD
community-testing/ibus/PKGBUILD
community-testing/inputattach/PKGBUILD
community-testing/liboobs/PKGBUILD
community-testing/perl-gtk2-webkit/PKGBUILD
community-testing/shotwell/PKGBUILD
community-testing/surf/PKGBUILD
community-testing/system-tools-backends/PKGBUILD
community-testing/uzbl/PKGBUILD
community-testing/workrave/PKGBUILD
community/cherrypy/PKGBUILD
community/llvm/PKGBUILD
community/xonotic/PKGBUILD
extra/ntfs-3g/PKGBUILD
extra/ntfsprogs/PKGBUILD
extra/rhino/PKGBUILD
testing/accountsservice/PKGBUILD
testing/anjuta/PKGBUILD
testing/ardour/PKGBUILD
testing/at-spi/PKGBUILD
testing/at-spi2-atk/PKGBUILD
testing/at-spi2-core/PKGBUILD
testing/atk/PKGBUILD
testing/atkmm/PKGBUILD
testing/avahi/PKGBUILD
testing/banshee/PKGBUILD
testing/brasero/PKGBUILD
testing/cairomm/PKGBUILD
testing/cheese/PKGBUILD
testing/claws-mail-extra-plugins/PKGBUILD
testing/clutter-gst/PKGBUILD
testing/clutter-gtk/PKGBUILD
testing/clutter-gtk2/PKGBUILD
testing/clutter/PKGBUILD
testing/cups-pk-helper/PKGBUILD
testing/dconf/PKGBUILD
testing/devhelp/PKGBUILD
testing/ekiga/PKGBUILD
testing/empathy/PKGBUILD
testing/eog-plugins/PKGBUILD
testing/eog/PKGBUILD
testing/epiphany-extensions/PKGBUILD
testing/epiphany/PKGBUILD
testing/evince/PKGBUILD
testing/evolution-data-server/PKGBUILD
testing/evolution-exchange/PKGBUILD
testing/evolution/PKGBUILD
testing/farsight2/PKGBUILD
testing/file-roller/PKGBUILD
testing/folks/PKGBUILD
testing/gcalctool/PKGBUILD
testing/gconf-editor/PKGBUILD
testing/gconf/PKGBUILD
testing/gdk-pixbuf2/PKGBUILD
testing/gdl/PKGBUILD
testing/gdm/PKGBUILD
testing/gedit/PKGBUILD
testing/gimp-devel/PKGBUILD
testing/gimp/PKGBUILD
testing/gjs/PKGBUILD
testing/glade/PKGBUILD
testing/glib-networking/PKGBUILD
testing/glib2/PKGBUILD
testing/glibmm/PKGBUILD
testing/gnome-applets/PKGBUILD
testing/gnome-bluetooth/PKGBUILD
testing/gnome-color-manager/PKGBUILD
testing/gnome-control-center/PKGBUILD
testing/gnome-desktop/PKGBUILD
testing/gnome-disk-utility/PKGBUILD
testing/gnome-games/PKGBUILD
testing/gnome-keyring/PKGBUILD
testing/gnome-media/PKGBUILD
testing/gnome-menus/PKGBUILD
testing/gnome-nettool/PKGBUILD
testing/gnome-panel/PKGBUILD
testing/gnome-pilot/PKGBUILD
testing/gnome-power-manager/PKGBUILD
testing/gnome-screensaver/PKGBUILD
testing/gnome-session/PKGBUILD
testing/gnome-settings-daemon/PKGBUILD
testing/gnome-sharp/PKGBUILD
testing/gnome-shell/PKGBUILD
testing/gnome-system-monitor/PKGBUILD
testing/gnome-terminal/PKGBUILD
testing/gnome-themes-standard/PKGBUILD
testing/gnome-user-share/PKGBUILD
testing/gnome-utils/PKGBUILD
testing/gobject-introspection/PKGBUILD
testing/gthumb/PKGBUILD
testing/gtk-vnc/PKGBUILD
testing/gtk2/PKGBUILD
testing/gtk3/PKGBUILD
testing/gtkhtml4/PKGBUILD
testing/gtkmm/PKGBUILD
testing/gtkmm3/PKGBUILD
testing/gtksourceview3/PKGBUILD
testing/gucharmap/PKGBUILD
testing/gvfs/PKGBUILD
testing/kdeplasma-applets-networkmanagement/PKGBUILD
testing/kismet/PKGBUILD
testing/lcms2/PKGBUILD
testing/libcanberra/PKGBUILD
testing/libchamplain/PKGBUILD
testing/libdmapsharing/PKGBUILD
testing/libgda/PKGBUILD
testing/libgdata/PKGBUILD
testing/libgnome-keyring/PKGBUILD
testing/libgnome-media-profiles/PKGBUILD
testing/libgnomekbd/PKGBUILD
testing/libgpod/PKGBUILD
testing/libgweather/PKGBUILD
testing/libimobiledevice/PKGBUILD
testing/liblrdf/PKGBUILD
testing/libnice/PKGBUILD
testing/libnotify/PKGBUILD
testing/libpeas/PKGBUILD
testing/librsvg/PKGBUILD
testing/libsocialweb/PKGBUILD
testing/libsoup/PKGBUILD
testing/libunique/PKGBUILD
testing/libunique3/PKGBUILD
testing/libwebkit/PKGBUILD
testing/libwnck/PKGBUILD
testing/libwnck3/PKGBUILD
testing/libxklavier/PKGBUILD
testing/liferea/PKGBUILD
testing/mail-notification/PKGBUILD
testing/metacity/PKGBUILD
testing/midori/PKGBUILD
testing/miro/PKGBUILD
testing/mousetweaks/PKGBUILD
testing/mpd/PKGBUILD
testing/mutter/PKGBUILD
testing/mx/PKGBUILD
testing/nautilus-open-terminal/PKGBUILD
testing/nautilus-sendto/PKGBUILD
testing/nautilus/PKGBUILD
testing/network-manager-applet/PKGBUILD
testing/networkmanager-openvpn/PKGBUILD
testing/networkmanager-pptp/PKGBUILD
testing/networkmanager-vpnc/PKGBUILD
testing/networkmanager/PKGBUILD
testing/notification-daemon/PKGBUILD
testing/opal/PKGBUILD
testing/pangomm/PKGBUILD
testing/pidgin/PKGBUILD
testing/polkit-gnome/PKGBUILD
testing/polkit/PKGBUILD
testing/ptlib/PKGBUILD
testing/pygobject/PKGBUILD
testing/pygtk/PKGBUILD
testing/pywebkitgtk/PKGBUILD
testing/raptor/PKGBUILD
testing/raptor1/PKGBUILD
testing/rasqal/PKGBUILD
testing/redland/PKGBUILD
testing/rest/PKGBUILD
testing/rhythmbox/PKGBUILD
testing/seahorse/PKGBUILD
testing/slv2/PKGBUILD
testing/soprano/PKGBUILD
testing/sound-juicer/PKGBUILD
testing/telepathy-gabble/PKGBUILD
testing/telepathy-glib/PKGBUILD
testing/telepathy-logger/PKGBUILD
testing/telepathy-mission-control/PKGBUILD
testing/tomboy/PKGBUILD
testing/totem-plparser/PKGBUILD
testing/totem/PKGBUILD
testing/udisks/PKGBUILD
testing/upower/PKGBUILD
testing/vinagre/PKGBUILD
testing/vino/PKGBUILD
testing/vte/PKGBUILD
testing/yelp/PKGBUILD
testing/zenity/PKGBUILD
Diffstat (limited to 'extra/metacity')
-rw-r--r-- | extra/metacity/metacity-restartstyle.patch | 139 |
1 files changed, 0 insertions, 139 deletions
diff --git a/extra/metacity/metacity-restartstyle.patch b/extra/metacity/metacity-restartstyle.patch deleted file mode 100644 index 54dd79e02..000000000 --- a/extra/metacity/metacity-restartstyle.patch +++ /dev/null @@ -1,139 +0,0 @@ -From a3de65d5d1861f755ced7cad291fbbd4f1b8ef51 Mon Sep 17 00:00:00 2001 -From: Owen W. Taylor <otaylor@fishsoup.net> -Date: Sat, 22 Aug 2009 15:00:57 -0400 -Subject: [PATCH] Should set RestartStyleHint to RestartIfRunning when replaced - -This reverts most of commit abbd057eb967e6ab462ffe305f41b2b04d417b25; - - - It's fine to call meta_session_shutdown() after the display - is closed, since it's talking over the ICE connection - - We should not call warn_about_lame_clients_and_finish_interact() - unless we are interacting with the window manager in a session - save. - -However, the part of abbd057 that fixed accessing freed memory was -fixing a real problem; this patches does the same thing in a simpler -way by fixing an obvious type in meta_display_close() where it was -NULL'ing out the local variable 'display' rather than the global -variable 'the_display' and adding keeping the check in meta_finalize() -that was added in abbd057. - -The order of calling meta_session_shutdown() and -calling meta_display_close() is reverted back to the old order to -make it clear that it's OK if the display way already closed previously. - -http://bugzilla.gnome.org/show_bug.cgi?id=588119 ---- - src/core/display-private.h | 2 +- - src/core/display.c | 16 ++++------------ - src/core/main.c | 5 ++--- - src/core/session.c | 8 -------- - 4 files changed, 7 insertions(+), 24 deletions(-) - -diff --git a/src/core/display-private.h b/src/core/display-private.h -index 19287f3..9c8ebc6 100644 ---- a/src/core/display-private.h -+++ b/src/core/display-private.h -@@ -329,7 +329,7 @@ MetaScreen* meta_display_screen_for_xwindow (MetaDisplay *display, - void meta_display_grab (MetaDisplay *display); - void meta_display_ungrab (MetaDisplay *display); - --void meta_display_unmanage_screen (MetaDisplay **display, -+void meta_display_unmanage_screen (MetaDisplay *display, - MetaScreen *screen, - guint32 timestamp); - -diff --git a/src/core/display.c b/src/core/display.c -index 55c374a..8e35a35 100644 ---- a/src/core/display.c -+++ b/src/core/display.c -@@ -926,7 +926,7 @@ meta_display_close (MetaDisplay *display, - meta_compositor_destroy (display->compositor); - - g_free (display); -- display = NULL; -+ the_display = NULL; - - meta_quit (META_EXIT_SUCCESS); - } -@@ -4762,13 +4762,10 @@ process_selection_clear (MetaDisplay *display, - meta_verbose ("Got selection clear for screen %d on display %s\n", - screen->number, display->name); - -- meta_display_unmanage_screen (&display, -+ meta_display_unmanage_screen (display, - screen, - event->xselectionclear.time); - -- if (!display) -- the_display = NULL; -- - /* display and screen may both be invalid memory... */ - - return; -@@ -4790,12 +4787,10 @@ process_selection_clear (MetaDisplay *display, - } - - void --meta_display_unmanage_screen (MetaDisplay **displayp, -+meta_display_unmanage_screen (MetaDisplay *display, - MetaScreen *screen, - guint32 timestamp) - { -- MetaDisplay *display = *displayp; -- - meta_verbose ("Unmanaging screen %d on display %s\n", - screen->number, display->name); - -@@ -4805,10 +4800,7 @@ meta_display_unmanage_screen (MetaDisplay **displayp, - display->screens = g_slist_remove (display->screens, screen); - - if (display->screens == NULL) -- { -- meta_display_close (display, timestamp); -- *displayp = NULL; -- } -+ meta_display_close (display, timestamp); - } - - void -diff --git a/src/core/main.c b/src/core/main.c -index a36a396..44d317e 100644 ---- a/src/core/main.c -+++ b/src/core/main.c -@@ -361,12 +361,11 @@ static void - meta_finalize (void) - { - MetaDisplay *display = meta_get_display(); -- -- meta_session_shutdown (); -- - if (display) - meta_display_close (display, - CurrentTime); /* I doubt correct timestamps matter here */ -+ -+ meta_session_shutdown (); - } - - static void -diff --git a/src/core/session.c b/src/core/session.c -index 7e3b389..0d69350 100644 ---- a/src/core/session.c -+++ b/src/core/session.c -@@ -376,14 +376,6 @@ meta_session_shutdown (void) - SmProp *props[1]; - char hint = SmRestartIfRunning; - -- if (!meta_get_display ()) -- { -- meta_verbose ("Cannot close session because there is no display"); -- return; -- } -- -- warn_about_lame_clients_and_finish_interact (FALSE); -- - if (session_connection == NULL) - return; - --- -1.6.4
\ No newline at end of file |