mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-27 21:22:26 +00:00
dix: Add a new "registry" mechanism for registering string names of things.
Supports protocol requests, events, and errors, and resource names. Modify XRES extension to use it.
This commit is contained in:
parent
8f23d40068
commit
6adeba1730
15 changed files with 469 additions and 62 deletions
|
|
@ -266,9 +266,7 @@ RRModeInit (void)
|
|||
RRModeType = CreateNewResourceType (RRModeDestroyResource);
|
||||
if (!RRModeType)
|
||||
return FALSE;
|
||||
#ifdef XResExtension
|
||||
RegisterResourceName (RRModeType, "MODE");
|
||||
#endif
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue