Workaround (or fix?) for the dialog problem in libV(motif)
I do not really understand what's going on in
vDialog::ShowDialog(VCONST char* msg)
but I found nothing equivalent to
#ifdef Athena
// Now ready to popup the dialog
if (_modal)
XtPopup(_vHandle, XtGrabExclusive);
else
XtPopup(_vHandle, XtGrabNone);
theApp->XWaitUntilMapped(_vHandle);
#endif
in the case of Motif (which however pops up the dialog in the first
instance :-?)
Therefore I commented it to
//ifdef Athena
// Now ready to popup the dialog
if (_modal)
XtPopup(_vHandle, XtGrabExclusive);
else
XtPopup(_vHandle, XtGrabNone);
theApp->XWaitUntilMapped(_vHandle);
//#endif
an have rebuild libV -> the dialogs work fine! They come up a 2nd and a
3rd time and ...
Can anyone tell if this does make sense?
(I'm still confused with the calc of the position.)
Stephan Uhlemann
Reply to: