[comp.windows.x.motif] Pop down Form Dialog

amc@wlv.imsd.contel.com (Allen M. Cohen) (04/11/91)

I have a Form Dialog, and one of its children is a "CANCEL" button.
The cancel button invokes a callback that does XtUnmanageChild on
the Form Dialog Widget.  In Motif 1.0/X11R3, this popped down the
Form Dialog (and XtManageChild would pop it back up at a later time).

This does not work under Metrolink's X11R4/Motif 1.1 -- 
XtUnmanageChild(FormDialog) causes the following protocol error
and crashes my application:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  42 (X_SetInputFocus)
  Minor opcode of failed request:  0
  Resource id in failed request:  0x600049
  Serial number of failed request:  1244
  Current serial number in output stream:  1246

PLEASE HELP!  Thanks.
(P.S.  I'm using ISC Unix 2.2, Metrolink X11R4/Motif 1.1)
<> Allen M. Cohen                  Internet:  amc@wlv.imsd.contel.com       <>
<> 3041 E. Black Hills Ct.         UUCP:      elroy.Jpl.Nasa.Gov!agi0!allen <>
<> Westlake Village, Ca. 91362     Telephone: (805) 498-9611 ext. 195       <>
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>