diff options
Diffstat (limited to 'xkb')
-rw-r--r-- | xkb/xkb.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -39,7 +39,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. #include "xace.h" #include "xkb.h" #include "protocol-versions.h" -#include "registry.h" #include <X11/extensions/XI.h> #include <X11/extensions/XKMformat.h> @@ -6705,10 +6704,9 @@ XkbExtensionInit(void) { ExtensionEntry *extEntry; - RT_XKBCLIENT = CreateNewResourceType(XkbClientGone); + RT_XKBCLIENT = CreateNewResourceType(XkbClientGone, "XkbClient"); if (!RT_XKBCLIENT) return; - RegisterResourceName(RT_XKBCLIENT, "XkbClient"); if ((extEntry = AddExtension(XkbName, XkbNumberEvents, XkbNumberErrors, ProcXkbDispatch, SProcXkbDispatch, |