summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/colormapst.h2
-rw-r--r--include/pixmapstr.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/colormapst.h b/include/colormapst.h
index 5ceee9870..d2422ea85 100644
--- a/include/colormapst.h
+++ b/include/colormapst.h
@@ -97,7 +97,7 @@ typedef struct _ColormapRec
{
VisualPtr pVisual;
short class; /* PseudoColor or DirectColor */
- long mid; /* client's name for colormap */
+ XID mid; /* client's name for colormap */
ScreenPtr pScreen; /* screen map is associated with */
short flags; /* 1 = IsDefault
* 2 = AllAllocated */
diff --git a/include/pixmapstr.h b/include/pixmapstr.h
index 22a1f1025..272ce6869 100644
--- a/include/pixmapstr.h
+++ b/include/pixmapstr.h
@@ -58,7 +58,7 @@ typedef struct _Drawable {
unsigned char class; /* specific to type */
unsigned char depth;
unsigned char bitsPerPixel;
- unsigned long id; /* resource id */
+ XID id; /* resource id */
short x; /* window: screen absolute, pixmap: 0 */
short y; /* window: screen absolute, pixmap: 0 */
unsigned short width;