diff options
Diffstat (limited to 'xorg-server/include')
-rw-r--r-- | xorg-server/include/dixstruct.h | 2 | ||||
-rw-r--r-- | xorg-server/include/globals.h | 2 | ||||
-rw-r--r-- | xorg-server/include/misc.h | 4 | ||||
-rw-r--r-- | xorg-server/include/os.h | 4 | ||||
-rw-r--r-- | xorg-server/include/pixmapstr.h | 2 | ||||
-rw-r--r-- | xorg-server/include/scrnintstr.h | 6 | ||||
-rw-r--r-- | xorg-server/include/windowstr.h | 2 |
7 files changed, 13 insertions, 9 deletions
diff --git a/xorg-server/include/dixstruct.h b/xorg-server/include/dixstruct.h index 4bfe3713c..3eac3d110 100644 --- a/xorg-server/include/dixstruct.h +++ b/xorg-server/include/dixstruct.h @@ -97,7 +97,7 @@ typedef struct _Client { Bool swapped; ReplySwapPtr pSwapReplyFunc; XID errorValue; - int sequence; + unsigned short sequence; //MH int closeDownMode; int clientGone; int noClientException; /* this client died or needs to be diff --git a/xorg-server/include/globals.h b/xorg-server/include/globals.h index c3d2dcfa2..74b09e71d 100644 --- a/xorg-server/include/globals.h +++ b/xorg-server/include/globals.h @@ -46,9 +46,7 @@ extern Bool DPMSCapableFlag; extern Bool PanoramiXExtensionDisabledHack; #endif -#ifdef COMPOSITE extern Bool noCompositeExtension; -#endif #ifdef DAMAGE extern Bool noDamageExtension; diff --git a/xorg-server/include/misc.h b/xorg-server/include/misc.h index 85f9e5d4f..f56c2c609 100644 --- a/xorg-server/include/misc.h +++ b/xorg-server/include/misc.h @@ -169,9 +169,9 @@ typedef struct _xReq *xReqPtr; #include <math.h> #undef MAXSHORT -#define MAXSHORT SHRT_MAX +#define MAXSHORT 32767 #undef MINSHORT -#define MINSHORT SHRT_MIN +#define MINSHORT -32768 #undef MAXINT #define MAXINT INT_MAX #undef MININT diff --git a/xorg-server/include/os.h b/xorg-server/include/os.h index 77e94486a..59f26898f 100644 --- a/xorg-server/include/os.h +++ b/xorg-server/include/os.h @@ -524,4 +524,8 @@ extern void LogPrintMarkers(void); extern void xorg_backtrace(void); +#ifdef _MSC_VER +#define snprintf _snprintf +#endif + #endif /* OS_H */ diff --git a/xorg-server/include/pixmapstr.h b/xorg-server/include/pixmapstr.h index 702faf0ac..8002b170a 100644 --- a/xorg-server/include/pixmapstr.h +++ b/xorg-server/include/pixmapstr.h @@ -76,10 +76,8 @@ typedef struct _Pixmap { int refcnt; int devKind; /* This is the pitch of the pixmap, typically width*bpp/8. */ DevUnion devPrivate; /* When !NULL, devPrivate.ptr points to the raw pixel data. */ -#ifdef COMPOSITE short screen_x; short screen_y; -#endif unsigned usage_hint; /* see CREATE_PIXMAP_USAGE_* */ } PixmapRec; diff --git a/xorg-server/include/scrnintstr.h b/xorg-server/include/scrnintstr.h index a309077ce..d2d4a659f 100644 --- a/xorg-server/include/scrnintstr.h +++ b/xorg-server/include/scrnintstr.h @@ -68,7 +68,7 @@ typedef struct _Visual { VisualID vid; short class; short bitsPerRGBValue; - short ColormapEntries; + long ColormapEntries; short nplanes;/* = log2 (ColormapEntries). This does not * imply that the screen has this many planes. * it may have more or fewer */ @@ -438,6 +438,10 @@ typedef void (* MarkUnrealizedWindowProcPtr)( WindowPtr /*pWin*/, Bool /*fromConfigure*/); +#ifdef CreateWindow +#undef CreateWindow +#endif + typedef Bool (* DeviceCursorInitializeProcPtr)( DeviceIntPtr /* pDev */, ScreenPtr /* pScreen */); diff --git a/xorg-server/include/windowstr.h b/xorg-server/include/windowstr.h index a31fdc1df..e7f4691d9 100644 --- a/xorg-server/include/windowstr.h +++ b/xorg-server/include/windowstr.h @@ -162,7 +162,7 @@ typedef struct _Window { RegionRec borderSize; DDXPointRec origin; /* position relative to parent */ unsigned short borderWidth; - unsigned short deliverableEvents; + unsigned long deliverableEvents; Mask eventMask; PixUnion background; PixUnion border; |