diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-12-02 17:43:01 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-12-18 17:44:12 -0800 |
commit | 895f40792a14d8b88923bf3b428d31ae3bb31e46 (patch) | |
tree | 3f53eecbf3ffea314ee657a0254925fe65510605 /hw/xquartz/applewm.c | |
parent | a11c58fa0c5809f918b36b84be53385cb2d8ea59 (diff) |
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>
Diffstat (limited to 'hw/xquartz/applewm.c')
-rw-r--r-- | hw/xquartz/applewm.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/hw/xquartz/applewm.c b/hw/xquartz/applewm.c index 26cf5d2e9..15c86de00 100644 --- a/hw/xquartz/applewm.c +++ b/hw/xquartz/applewm.c @@ -37,7 +37,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "dixstruct.h" #include "globals.h" #include "extnsionst.h" -#include "registry.h" #include "colormapst.h" #include "cursorstr.h" #include "scrnintstr.h" @@ -112,8 +111,8 @@ AppleWMExtensionInit( { ExtensionEntry* extEntry; - ClientType = CreateNewResourceType(WMFreeClient); - EventType = CreateNewResourceType(WMFreeEvents); + ClientType = CreateNewResourceType(WMFreeClient, "WMClient"); + EventType = CreateNewResourceType(WMFreeEvents, "WMEvent"); eventResource = FakeClientID(0); if (ClientType && EventType && @@ -130,8 +129,6 @@ AppleWMExtensionInit( WMEventBase = extEntry->eventBase; EventSwapVector[WMEventBase] = (EventSwapPtr) SNotifyEvent; appleWMProcs = procsPtr; - RegisterResourceName(ClientType, "WMClient"); - RegisterResourceName(EventType, "WMEvent"); } } |