summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2016-01-05 15:56:42 -0500
committerAdam Jackson <ajax@redhat.com>2016-04-18 11:22:58 -0400
commit2c3a3afb5104714b637c1c4aea195df73e0fa918 (patch)
tree998116eb1f4191eedb8893f6cd79551f3b8165a8 /dix
parent8437955515ad59b0bfcd6598248e7f0ffc706370 (diff)
dix: Add RootWindowFinalizeCallback
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'dix')
-rw-r--r--dix/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/dix/main.c b/dix/main.c
index 661ab0361..77e0f2ecb 100644
--- a/dix/main.c
+++ b/dix/main.c
@@ -129,6 +129,8 @@ pthread_cond_t serverRunningCond = PTHREAD_COND_INITIALIZER;
#endif
+CallbackListPtr RootWindowFinalizeCallback = NULL;
+
int
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");
if (!CreateRootWindow(pScreen))
FatalError("failed to create root window");
+ CallCallbacks(&RootWindowFinalizeCallback, pScreen);
}
if (SetDefaultFontPath(defaultFontPath) != Success) {