diff options
Diffstat (limited to 'xfixes/select.c')
-rw-r--r-- | xfixes/select.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xfixes/select.c b/xfixes/select.c index a5811bdc0..5a00ea845 100644 --- a/xfixes/select.c +++ b/xfixes/select.c @@ -26,6 +26,7 @@ #include "xfixesint.h" #include "xace.h" +#include "registry.h" static RESTYPE SelectionClientType, SelectionWindowType; static Bool SelectionCallbackRegistered = FALSE; @@ -285,6 +286,11 @@ Bool XFixesSelectionInit (void) { SelectionClientType = CreateNewResourceType(SelectionFreeClient); + if (SelectionClientType) + RegisterResourceName(SelectionClientType, "XFixesSelectionClient"); SelectionWindowType = CreateNewResourceType(SelectionFreeWindow); + if (SelectionWindowType) + RegisterResourceName(SelectionWindowType, "XFixesSelectionWindow"); + return SelectionClientType && SelectionWindowType; } |