[Xastir] I got it to work with ubuntu 10.04 but

Curt, WE7U curt.we7u at gmail.com
Sat Mar 6 00:47:38 EST 2010


On Fri, 5 Mar 2010, Curt, WE7U wrote:

> Read this thread:
>  https://bugzilla.redhat.com/show_bug.cgi?id=543647
>
> It appears to be a bug in the X11 server and can affect OpenMotif
> and Lesstif apps.  I didn't read every comment though.  There were
> definitely many dead-ends as they went along discussing it.

This may be the most useful bit in the above thread:

---------------------------------------------------------------------
glend      2010-02-02 10:56:32 EST

Our test cases also work now under AFNI, so we're happy. Thanks.

By the way, I found this mention from an old (2004) Lesstif thread
of a warning of impending doom from the AddPopupHandlers function
handling of the right-button click...

It appears that in rowcolumn.c, AddPopupHandlers does an
XtButtonGrab() to add a passive button grab on the menu's parent for
the right mouse button.  This means that when the right button is
pressed, the server will do a pointer grab for the client.  It is
then the client's responsibility to release the pointer grab, which
it usually does when the menu pops down.

However, destroying the menu does not ungrab the button.  The net
effect is that once you've destroyed the menu, clicking the right
mouse button on the parent, causes a pointer grab which the client
ignores and never ungrabs, so you're stuck.

  -- Dave Williss
------ 
---------------------------------------------------------------------


-- 
Curt, WE7U.                         <http://www.eskimo.com/~archer>
    APRS:  Where it's at!                    <http://www.xastir.org>
   Lotto:  A tax on people who are bad at math. - unknown
Windows:  Microsoft's tax on computer illiterates. - WE7U.
The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir mailing list