XmtAskForBoolean() causes X protocol error on Blade 150 with following
error message:
X Error of failed request:
BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 14 (X_GetGeometry)
Resource id in failed request: 0x2
Serial number of failed request: 308
Current serial number in output stream: 308

Please refer to attached test program.

/************************************************** ******
* Test program to duplicate X protocol error produced
* when using XmtAskForBoolean() on a Solaris 8 Sun
* Blade 150.
* It works fine in Sun Ultra's
* Xmt 4.0.0 - Solaris 8 - Sun WorkShop 6 Update 2 C 5.3
************************************************** ******/


static void buttonCB(Widget, void*, void*);

int main (int argc, char** argv)

XtAppContext app;
Widget shell, w;

shell = XtAppInitialize(&app, "Hello", NULL, 0,
&argc, argv, NULL, NULL, 0);

w = XmCreatePushButton(shell, "Push Me!", NULL, 0);
XtAddCallback(w, XmNactivateCallback, buttonCB, NULL);
XtVaSetValues(w, XmNtraversalOn, False, NULL);



static void buttonCB(Widget w, void* client, void* call)

Boolean answer = FALSE;

XmtAskForBoolean(w, "XmtAskForBoolean",
"Really want to reset?",
FALSE, &answer, NULL);

printf("Answer = %s\n", answer ? "Reset" : "Cancel");