dix: Add RootWindowFinalizeCallback
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
8437955515
commit
2c3a3afb51
|
@ -129,6 +129,8 @@ pthread_cond_t serverRunningCond = PTHREAD_COND_INITIALIZER;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
CallbackListPtr RootWindowFinalizeCallback = NULL;
|
||||||
|
|
||||||
int
|
int
|
||||||
dix_main(int argc, char *argv[], char *envp[])
|
dix_main(int argc, char *argv[], char *envp[])
|
||||||
{
|
{
|
||||||
|
@ -230,6 +232,7 @@ dix_main(int argc, char *argv[], char *envp[])
|
||||||
FatalError("failed to create default stipple");
|
FatalError("failed to create default stipple");
|
||||||
if (!CreateRootWindow(pScreen))
|
if (!CreateRootWindow(pScreen))
|
||||||
FatalError("failed to create root window");
|
FatalError("failed to create root window");
|
||||||
|
CallCallbacks(&RootWindowFinalizeCallback, pScreen);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SetDefaultFontPath(defaultFontPath) != Success) {
|
if (SetDefaultFontPath(defaultFontPath) != Success) {
|
||||||
|
|
|
@ -594,6 +594,8 @@ typedef struct {
|
||||||
DeviceIntPtr device;
|
DeviceIntPtr device;
|
||||||
} DeviceEventInfoRec;
|
} DeviceEventInfoRec;
|
||||||
|
|
||||||
|
extern _X_EXPORT CallbackListPtr RootWindowFinalizeCallback;
|
||||||
|
|
||||||
extern int
|
extern int
|
||||||
XItoCoreType(int xi_type);
|
XItoCoreType(int xi_type);
|
||||||
extern Bool
|
extern Bool
|
||||||
|
|
Loading…
Reference in New Issue