mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-24 20:55:49 +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 @@ in this Software without prior written authorization from The Open Group.
|
|||
#include "dixstruct.h"
|
||||
#include "pixmapstr.h"
|
||||
#include "scrnintstr.h"
|
||||
#include "registry.h"
|
||||
|
||||
typedef struct _Sertafied {
|
||||
struct _Sertafied *next;
|
||||
|
|
@ -88,10 +87,10 @@ ClientSleepUntil (ClientPtr client,
|
|||
|
||||
if (SertafiedGeneration != serverGeneration)
|
||||
{
|
||||
SertafiedResType = CreateNewResourceType (SertafiedDelete);
|
||||
SertafiedResType = CreateNewResourceType (SertafiedDelete,
|
||||
"ClientSleep");
|
||||
if (!SertafiedResType)
|
||||
return FALSE;
|
||||
RegisterResourceName(SertafiedResType, "ClientSleep");
|
||||
SertafiedGeneration = serverGeneration;
|
||||
BlockHandlerRegistered = FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue