I see (now, having read through the changes, and made a test-case).  The fix in 
#226
was for the core-dump.  The report was for two errors, and one was not 
addressed.
I can see that it's dying in the call in menu.c
   XtCallActionProc(w, "XawPositionSimpleMenu", event, params, 1);

The widget itself is okay (commenting out that call makes it "work").
But the problem is in the Xaw library.  Reading the source code, that
causes it to go into a case-statement where the normal event types
are ButtonPress, ButtonRelease, etc.   None of the normal types apply;
it goes into a default case for
   PositionMenu(menu, NULL);
which asks it to get the child-window of the menu-widget which encloses
the pointer.  However, the pointer is probably outside the menu widget
since it's pointing to the vt100 window.  So the XQueryPointer call fails

I might be able to appease it by checking for this case and warping the
pointer onto the menu widget (will see).

thanks for the feedback

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/756273

Title:
  xterm dies on popup-menu action

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to