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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user