mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
Bug 778: add ddxBeforeReset
This commit is contained in:
@@ -217,6 +217,11 @@ OsVendorFatalError(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
ddxBeforeReset(void)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef DDXTIME
|
||||
CARD32
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -251,6 +251,11 @@ OsVendorFatalError()
|
||||
{
|
||||
}
|
||||
|
||||
void ddxBeforeReset(void)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
void
|
||||
ddxUseMsg()
|
||||
{
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user