summaryrefslogtreecommitdiff
path: root/src/session.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-07-13 03:47:06 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-07-13 03:47:06 +0000
commitf0a74e2e95686712dd5549ee5e6d0a22e34c0070 (patch)
treeb5c5b9bd79f4e0635f8754f182a76be5e91e99fc /src/session.c
parentb30802e35ff103940bf36b909c9b76178dd43d6a (diff)
downloadmetacity-f0a74e2e95686712dd5549ee5e6d0a22e34c0070.tar.gz
metacity-f0a74e2e95686712dd5549ee5e6d0a22e34c0070.tar.bz2
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.
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/session.c b/src/session.c
index 718d16c..62f912b 100644
--- a/src/session.c
+++ b/src/session.c
@@ -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);