gnome-session/gnome-session-2.12.0-su-session-management.patch

24 lines
962 B
Diff
Raw Normal View History

diff -Nurp gnome-session-2.12.0-pre/gnome-session/ice.c gnome-session-2.12.0-post/gnome-session/ice.c
--- gnome-session-2.12.0-pre/gnome-session/ice.c 2005-05-17 08:59:05.000000000 -0500
+++ gnome-session-2.12.0-post/gnome-session/ice.c 2006-01-26 22:02:49.000000000 -0600
@@ -379,6 +379,8 @@ initialize_ice (void)
p = g_strconcat (ENVNAME "=", ids, NULL);
putenv (p);
+
+ putenv (g_strconcat (ICE_AUTHORITY_ENV_NAME "=", authfile, NULL));
ice_depth = 0; /* We are live */
}
diff -Nurp gnome-session-2.12.0-pre/gnome-session/ice.h gnome-session-2.12.0-post/gnome-session/ice.h
--- gnome-session-2.12.0-pre/gnome-session/ice.h 2001-05-10 17:09:15.000000000 -0500
+++ gnome-session-2.12.0-post/gnome-session/ice.h 2006-01-26 21:51:35.000000000 -0600
@@ -24,6 +24,7 @@
#define MAGIC_COOKIE_LEN 16
#define ENVNAME "SESSION_MANAGER"
+#define ICE_AUTHORITY_ENV_NAME "ICEAUTHORITY"
/* List of all auth entries. */
extern GSList *auth_entries;