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
|
|
@ -39,7 +39,6 @@ from Kaleb S. KEITHLEY
|
|||
#include "misc.h"
|
||||
#include "dixstruct.h"
|
||||
#include "extnsionst.h"
|
||||
#include "registry.h"
|
||||
#include "scrnintstr.h"
|
||||
#include "servermd.h"
|
||||
#include <X11/extensions/xf86vmproto.h>
|
||||
|
|
@ -171,7 +170,7 @@ XFree86VidModeExtensionInit(void)
|
|||
DEBUG_P("XFree86VidModeExtensionInit");
|
||||
|
||||
#ifdef XF86VIDMODE_EVENTS
|
||||
EventType = CreateNewResourceType(XF86VidModeFreeEvents);
|
||||
EventType = CreateNewResourceType(XF86VidModeFreeEvents, "VidModeEvent");
|
||||
#endif
|
||||
|
||||
for(i = 0; i < screenInfo.numScreens; i++) {
|
||||
|
|
@ -202,7 +201,6 @@ XFree86VidModeExtensionInit(void)
|
|||
#endif
|
||||
VidModeErrorBase = extEntry->errorBase;
|
||||
#ifdef XF86VIDMODE_EVENTS
|
||||
RegisterResourceName(EventType, "VidModeEvent");
|
||||
XF86VidModeEventBase = extEntry->eventBase;
|
||||
EventSwapVector[XF86VidModeEventBase] = (EventSwapPtr)SXF86VidModeNotifyEvent;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue