Stephen J. Turnbull wrote:
I'd like to avoid the kind of fiasco that happened with 21.4.2,
and
I've also had too many context switches since early May to really be
on top of things. So I'd appreciate it if people would scan the list
of changes below for any glaring errors of omission or commission.
src/input-method-motif.c is still broken.
Patch attached (in case it's been lost).
--
Glynn Clements <glynn.clements(a)virgin.net>
Index: src/input-method-motif.c
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/src/input-method-motif.c,v
retrieving revision 1.11.2.2
diff -u -r1.11.2.2 input-method-motif.c
--- src/input-method-motif.c 2001/05/17 13:37:45 1.11.2.2
+++ src/input-method-motif.c 2001/07/18 19:48:47
@@ -94,6 +94,13 @@
/* Nothing to do */
}
+/* Callback for the deleting frame. */
+static void
+XIM_delete_frame (Widget w, XtPointer client_data, XtPointer call_data)
+{
+ XmImUnregister ((Widget) client_data);
+}
+
void
XIM_init_frame (struct frame *f)
{
@@ -152,6 +159,8 @@
NULL);
XmFontListEntryFree (&fontlistEntry);
+
+ XtAddCallback (w, XmNdestroyCallback, XIM_delete_frame, (XtPointer) w);
}
void