jg@jumbo.UUCP (09/18/87)
Well, one bug fix we made in the old toolkit for color displays missed getting incorporated into the MIT release. Sigh... Many other toolkit bugs will only be fixed in the new toolkit, but this one causes any application running against the old toolkit to fail entirely on color displays, so is worth fixing in the meanwhile until the applications are cut over to the new toolkit. This accounts for the release notes report of xedit and xmh not running on color displays. - Jim RCS file: RCS/Command.c,v retrieving revision 11.1 diff -c -r11.1 Command.c *** /tmp/,RCSt1018304 Fri Sep 18 12:53:43 1987 --- Command.c Fri Sep 18 12:47:26 1987 *************** *** 1,4 ! /* $Header: Command.c,v 11.1 87/09/17 18:41:43 jg Exp $ */ #ifndef lint static char *sccsid = "@(#)Command.c 1.13 2/25/87"; #endif lint --- 1,4 ----- ! /* $Header: Command.c,v 11.3 87/09/18 12:47:16 jg Exp $ */ #ifndef lint static char *sccsid = "@(#)Command.c 1.13 2/25/87"; #endif lint *************** *** 246,254 gcv.foreground = 1; gcv.background = 0; gray = XCreatePixmap(data->dpy, data->mywin, ! gray_width, gray_height, ! DefaultDepth(data->dpy, DefaultScreen(data->dpy))); ! /* Instead of calling the GCManager, since it doesn't handle depths, and stipples are always XYBitmap, depth == 1, use XCreateGC --- 246,252 ----- gcv.foreground = 1; gcv.background = 0; gray = XCreatePixmap(data->dpy, data->mywin, ! gray_width, gray_height, 1); /* Instead of calling the GCManager, since it doesn't handle depths, and stipples are always XYBitmap, depth == 1, use XCreateGC