mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-09 23:22:22 +00:00
Add type name argument to CreateNewResourceType
Convert all calls of CreateNewResourceType to pass name argument Breaks DIX ABI. ABI versions bumped: Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
a11c58fa0c
commit
895f40792a
40 changed files with 128 additions and 221 deletions
|
|
@ -51,7 +51,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#include "misc.h"
|
||||
#include "dixstruct.h"
|
||||
#include "extnsionst.h"
|
||||
#include "registry.h"
|
||||
#include "colormapst.h"
|
||||
#include "cursorstr.h"
|
||||
#include "scrnintstr.h"
|
||||
|
|
@ -790,13 +789,13 @@ DRIExtensionInit(void)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
DRIDrawablePrivResType = CreateNewResourceType(DRIDrawablePrivDelete);
|
||||
DRIContextPrivResType = CreateNewResourceType(DRIContextPrivDelete);
|
||||
DRIDrawablePrivResType = CreateNewResourceType(DRIDrawablePrivDelete,
|
||||
"DRIDrawable");
|
||||
DRIContextPrivResType = CreateNewResourceType(DRIContextPrivDelete,
|
||||
"DRIContext");
|
||||
|
||||
if (!DRIDrawablePrivResType || !DRIContextPrivResType)
|
||||
return FALSE;
|
||||
RegisterResourceName(DRIDrawablePrivResType, "DRIDrawable");
|
||||
RegisterResourceName(DRIContextPrivResType, "DRIContext");
|
||||
|
||||
RegisterBlockAndWakeupHandlers(DRIBlockHandler, DRIWakeupHandler, NULL);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue