--- 4.0/xc/programs/xdm/dpylist.c~ Sun Oct 11 14:21:16 1998 +++ 4.0/xc/programs/xdm/dpylist.c Wed Jul 5 21:53:44 2000 @@ -35,11 +35,12 @@ # include "dm_error.h" static struct display *displays; +static int no_xserver_started = 1; int AnyDisplaysLeft (void) { - return displays != (struct display *) 0; + return no_xserver_started || (displays != (struct display *) 0); } void @@ -256,5 +257,8 @@ #endif d->version = 1; /* registered with The Open Group */ displays = d; + + no_xserver_started = 0; + return d; }