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
|
#endif
|
||||||
|
|
||||||
|
void
|
||||||
|
ddxBeforeReset(void)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef DDXTIME
|
#ifdef DDXTIME
|
||||||
CARD32
|
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 $ */
|
/* $Xorg: dispatch.c,v 1.5 2001/02/09 02:04:40 xorgcvs Exp $ */
|
||||||
/************************************************************
|
/************************************************************
|
||||||
|
|
||||||
@@ -474,6 +474,9 @@ Dispatch(void)
|
|||||||
}
|
}
|
||||||
dispatchException &= ~DE_PRIORITYCHANGE;
|
dispatchException &= ~DE_PRIORITYCHANGE;
|
||||||
}
|
}
|
||||||
|
#if defined(DDXBEFORERESET)
|
||||||
|
ddxBeforeReset ();
|
||||||
|
#endif
|
||||||
KillAllClients();
|
KillAllClients();
|
||||||
DEALLOCATE_LOCAL(clientReady);
|
DEALLOCATE_LOCAL(clientReady);
|
||||||
dispatchException &= ~DE_RESET;
|
dispatchException &= ~DE_RESET;
|
||||||
|
|||||||
@@ -251,6 +251,11 @@ OsVendorFatalError()
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ddxBeforeReset(void)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ddxUseMsg()
|
ddxUseMsg()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -150,6 +150,11 @@ void OsVendorFatalError()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ddxBeforeReset(void)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/* this is just to get the server to link on AIX */
|
/* this is just to get the server to link on AIX */
|
||||||
#ifdef AIXV3
|
#ifdef AIXV3
|
||||||
int SelectWaitTime = 10000; /* usec */
|
int SelectWaitTime = 10000; /* usec */
|
||||||
|
|||||||
@@ -372,6 +372,10 @@ extern int DoGetImage(
|
|||||||
extern void IncrementClientCount(void);
|
extern void IncrementClientCount(void);
|
||||||
#endif /* LBX */
|
#endif /* LBX */
|
||||||
|
|
||||||
|
#if defined(DDXBEFORERESET)
|
||||||
|
extern void ddxBeforeReset (void);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* dixutils.c */
|
/* dixutils.c */
|
||||||
|
|
||||||
extern void CopyISOLatin1Lowered(
|
extern void CopyISOLatin1Lowered(
|
||||||
|
|||||||
Reference in New Issue
Block a user