>>>> "SJT" == Stephen J Turnbull
<turnbull(a)sk.tsukuba.ac.jp> writes:
>>>> "mb" == Martin Buchholz
<martin(a)xemacs.org> writes:
GC> Comparing input-method-{xlib,motif}.c, I
see that the xlib
GC> version installs a destroyCallback handler (XIM_delete_frame)
GC> which calls XDestroyIC(). OTOH, the Motif version doesn't; in
GC> fact, grepping for XmImUnregister turns up nothing.
mb> This surprises me (the original author of the code).
mb> I very vaguely remember having used XmImUnregister somewhere,
mb> 5 years ago. Your patch looks correct, but why has xim-motif
mb> mostly worked the past 5 years?
SJT> Anyway, whatever -- in your opinion as original author is this patch
SJT> _safe_ to apply to 21.4?
It looks correct. That's as far as I'll go.
Would I apply this fix to the code? Yes, given some investigation of
the history of input-method-motif.c and some testing (which I won't do
myself).