Bug 778: add ddxBeforeReset

This commit is contained in:
Alexander Gottwald 2004-06-21 13:44:14 +00:00
parent 68d92cca1a
commit ed7f92e791
5 changed files with 23 additions and 1 deletions

View File

@ -217,6 +217,11 @@ OsVendorFatalError(void)
}
#endif
void
ddxBeforeReset(void)
{
return;
}
#ifdef DDXTIME
CARD32

View File

@ -1,4 +1,4 @@
/* $XdotOrg: xc/programs/Xserver/dix/dispatch.c,v 1.1.4.4.2.3.6.2 2004/04/20 03:27:08 gisburn Exp $ */
/* $XdotOrg$ */
/* $Xorg: dispatch.c,v 1.5 2001/02/09 02:04:40 xorgcvs Exp $ */
/************************************************************
@ -474,6 +474,9 @@ Dispatch(void)
}
dispatchException &= ~DE_PRIORITYCHANGE;
}
#if defined(DDXBEFORERESET)
ddxBeforeReset ();
#endif
KillAllClients();
DEALLOCATE_LOCAL(clientReady);
dispatchException &= ~DE_RESET;

View File

@ -251,6 +251,11 @@ OsVendorFatalError()
{
}
void ddxBeforeReset(void)
{
return;
}
void
ddxUseMsg()
{

View File

@ -150,6 +150,11 @@ void OsVendorFatalError()
return;
}
void ddxBeforeReset(void)
{
return;
}
/* this is just to get the server to link on AIX */
#ifdef AIXV3
int SelectWaitTime = 10000; /* usec */

View File

@ -372,6 +372,10 @@ extern int DoGetImage(
extern void IncrementClientCount(void);
#endif /* LBX */
#if defined(DDXBEFORERESET)
extern void ddxBeforeReset (void);
#endif
/* dixutils.c */
extern void CopyISOLatin1Lowered(