mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
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:
parent
b30802e35f
commit
f0a74e2e95
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user