int
dix_main(int argc, char *argv[], char *envp[])
{
int i;
HWEventQueueType alwaysCheckForInput[2]; //int
display = "0";
InitRegions(); //初始化pixman
/*
struct pixman_box16
{
int16_t x1, y1, x2, y2;
};
struct pixman_region16_data {
long size;
long numRects;
};
typedef struct pixman_box16 BoxRec;
typedef struct pixman_region16_data RegDataRec, *RegDataPtr;
void InitRegions(void)
{
pixman_region_set_static_pointers(&RegionEmptyBox, &RegionEmptyData,&RegionBrokenData);
}
*/
CheckUserAuthorization();
return 0;
}