diff options
Diffstat (limited to 'dix/privates.c')
-rw-r--r-- | dix/privates.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dix/privates.c b/dix/privates.c index 969d0141c..478f52cbe 100644 --- a/dix/privates.c +++ b/dix/privates.c @@ -783,3 +783,12 @@ dixResetPrivates(void) global_keys[t].allocated = 0; } } + +Bool +dixPrivatesCreated(DevPrivateType type) +{ + if (global_keys[type].created) + return TRUE; + else + return FALSE; +} |