more display list fixing

This commit is contained in:
Matthias Clasen 2007-05-21 19:14:49 +00:00
parent 5dc8f5468f
commit a61189ea57

View File

@ -146,7 +146,7 @@
FALSE /* chooser */, FALSE /* chooser */,
NULL, 0, NULL, NULL, NULL); NULL, 0, NULL, NULL, NULL);
+} else if (strcmp (msg, GDM_SOP_CANCEL_LOGIN_REQUESTS) == 0) { +} else if (strcmp (msg, GDM_SOP_CANCEL_LOGIN_REQUESTS) == 0) {
+ GSList *li; + GSList *li, *displays = gdm_daemon_config_get_display_list ();
+ for (li = displays; li != NULL; li = li->next) { + for (li = displays; li != NULL; li = li->next) {
+ GdmDisplay *d = li->data; + GdmDisplay *d = li->data;
+ if (!d->logged_in) { + if (!d->logged_in) {