gdm r6146 - in branches/gnome-2-20: . daemon



Author: halfline
Date: Fri Apr 11 20:28:39 2008
New Revision: 6146
URL: http://svn.gnome.org/viewvc/gdm?rev=6146&view=rev

Log:
2008-04-11 Ray Strode <rstrode redhat com>

	* gui/slave.c:
	(gdm_slave_session_start): Sync to catch any XIO errors after session
	exits (fixes bug 419301)


Modified:
   branches/gnome-2-20/ChangeLog
   branches/gnome-2-20/daemon/slave.c

Modified: branches/gnome-2-20/daemon/slave.c
==============================================================================
--- branches/gnome-2-20/daemon/slave.c	(original)
+++ branches/gnome-2-20/daemon/slave.c	Fri Apr 11 20:28:39 2008
@@ -4895,6 +4895,10 @@
 	gdm_debug ("Session: start_time: %ld end_time: %ld",
 		   (long)session_start_time, (long)end_time);
 
+	/* Sync to get notified in the case the X server died
+	 */
+	XSync (d->dsp, False);
+
 	/* 66 is a very magical number signifying failure in GDM */
 	if G_UNLIKELY ((d->last_sess_status != 66) &&
 		       (/* sanity */ end_time >= session_start_time) &&



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]