Call XCloseDisplay, otherwise screen saver changes are not updated

before closing the X connection.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@566 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1996-06-07 23:45:30 +00:00
parent e6f48eb604
commit 66a94c3322

View File

@@ -29,8 +29,6 @@ RCSID("$Id$");
#include "roken.h"
char *crypt(const char *, const char *);
char inst[100];
char name[100];
char realm[REALM_SZ + 1];
@@ -270,6 +268,7 @@ leave(void)
XUngrabPointer(dpy, CurrentTime);
XUngrabKeyboard(dpy, CurrentTime);
ScreenSaver(0);
XCloseDisplay(dpy);
zrefresh();
exit(0);
}