don't display the dialog if all the apps were session managed.

2002-07-12  Havoc Pennington  <hp@pobox.com>

	* src/session.c (warn_about_lame_clients_and_finish_interact):
	don't display the dialog if all the apps were session managed.
This commit is contained in:
Havoc Pennington 2002-07-13 03:47:06 +00:00 committed by Havoc Pennington
parent b30802e35f
commit f0a74e2e95
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-07-12 Havoc Pennington <hp@pobox.com>
* src/session.c (warn_about_lame_clients_and_finish_interact):
don't display the dialog if all the apps were session managed.
2002-07-12 Havoc Pennington <hp@pobox.com>
* src/session.c: don't send SmInteractDone until the warning

View File

@ -1777,6 +1777,13 @@ warn_about_lame_clients_and_finish_interact (gboolean shutdown)
/* don't need to free displays */
displays = NULL;
if (lame == NULL)
{
/* No lame apps. */
finish_interact (shutdown);
return;
}
lame = g_slist_sort (lame, (GCompareFunc) windows_cmp_by_title);
len = g_slist_length (lame);