summaryrefslogtreecommitdiffstats
path: root/xlib
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-24 15:23:16 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-24 15:23:16 (GMT)
commit97a31b80b8c9dd4d9a19984a9b709af0265d4c43 (patch)
treefcea170d4a9247efb33059020fe52f2c61643194 /xlib
parent473ed169135beac6352af2c5f61cca5d404ccf51 (diff)
parentc1d2b9d95856fe913236eec23533b0bd522726d3 (diff)
downloadtk-97a31b80b8c9dd4d9a19984a9b709af0265d4c43.zip
tk-97a31b80b8c9dd4d9a19984a9b709af0265d4c43.tar.gz
tk-97a31b80b8c9dd4d9a19984a9b709af0265d4c43.tar.bz2
Merge 8.6
Diffstat (limited to 'xlib')
-rw-r--r--xlib/xutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlib/xutil.c b/xlib/xutil.c
index 1e81549..d80b742 100644
--- a/xlib/xutil.c
+++ b/xlib/xutil.c
@@ -70,7 +70,7 @@ XGetVisualInfo(
info->visualid = info->visual->visualid;
info->screen = 0;
info->depth = info->visual->bits_per_rgb;
- info->class = info->visual->class;
+ info->c_class = info->visual->c_class;
info->colormap_size = info->visual->map_entries;
info->bits_per_rgb = info->visual->bits_per_rgb;
info->red_mask = info->visual->red_mask;
@@ -84,7 +84,7 @@ XGetVisualInfo(
|| ((vinfo_mask & VisualDepthMask)
&& (vinfo_template->depth != info->depth))
|| ((vinfo_mask & VisualClassMask)
- && (vinfo_template->class != info->class))
+ && (vinfo_template->c_class != info->c_class))
|| ((vinfo_mask & VisualColormapSizeMask)
&& (vinfo_template->colormap_size != info->colormap_size))
|| ((vinfo_mask & VisualBitsPerRGBMask)