[resending message, sent to wrong address]
I believe there is a problem in that case, for example, if I create a
fallback string list to call XtAppInitialize, with something like:
String fallback[] = {
"*Text.translations: #override \
c<Key>S: no-op(r)\n\
c<Key>R: no-op(r)\n\
m<Key>I: no-op(r)\n\
c<Key>G: no-op()\n\
c<Key>C: no-op()\n\
<Key>Escape: no-op()\n\
<Key>Tab: no-op()\n\
<Key>Return: no-op()",
NULL
};
Then, when calling XtAppInitialize, the translation table will only be set
to the first line "*Text.translations: #override c<Key>S: no-op(r)".
So, I believe XrmPutLineResource should parse the entire string, not just
until the first newline.
Does somebody see any problems if XrmPutLineResource be changed to do it?
Maybe it is required a new function, to make sure nothing breaks, but that
would require also changing Xt, to use such new function.
If that is done, the fallback resources can even be specified in a single
string...
Paulo
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert