Lesstif isn't Motif [was: Dead end?]

Thomas Orgis thomas-forum at orgis.org
Tue Mar 24 09:45:05 CET 2009


Am Tue, 24 Mar 2009 00:48:14 +0100
schrieb Joerg Fischer <jf505 at gmx.de>: 

> Thomas Orgis wrote:
> 
> > Perhaps a pointer to the point where this has supposedly been fixed in nedit would be helpful.
> 
> source/search.c at the end of DoFindDlog() 
> 
>     /* Workaround: LessTif (as of version 0.89) needs reminding of who had
>        the focus when the dialog was unmanaged.  When re-managed, focus is
>        lost and events fall through to the window below. */
>     XmProcessTraversal(window->findText, XmTRAVERSE_CURRENT);
> 
> At least this is what I meant. 

Thanks ... though I wonder how one can split the focus so that the window appears to have focus and accepts shortcut keys but no regular test input.
That may need insight into X11/Motif workings...
Oh, btw: I compiled lesstif-0.91.0 and was not yet able to reproduce this. What I notice is that it needs more time to react to keyboard shortcuts.
I have to press the F in Ctrl+F a bit longer for the dialog to appear, same with Ctrl+Q.
Could be that the speedup in reaction that must have happened has a side effect of loosing focus again.


Alrighty then,

Thomas. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://www.nedit.org/pipermail/discuss/attachments/20090324/e0afd7fe/signature.bin


More information about the Discuss mailing list