Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Motif task failure

 
Mark Battle
Advisor

Motif task failure

I am trying to force a Motif task to d-iconify itself under some circumstances.

The code is

Display *dpy = XtWindow(w_toplevel);
Window win = XtWindow(w_toplevel);
Window client = XmuClientWindow(dpy, win);
XMapRaised (dpy, client);

However it aborts on the XmuClientWindow statement.

What am I doing wrong?
2 REPLIES 2
Kris Clippeleyr
Honored Contributor

Re: Motif task failure

Mark,


Display *dpy = XtWindow(w_toplevel);
Window win = XtWindow(w_toplevel);


Shouldn't the first one be:
Display *dpy = XtDisplay(w_toplevel);

Regards,
Kris (aka Qkcl)
I'm gonna hit the highway like a battering ram on a silver-black phantom bike...
Mark Battle
Advisor

Re: Motif task failure

Of course it should. What a silly typo.
Thanks