(U-0002195D): Add `ideographic-structure'; add `sound@ja/on'; add
[chise/xemacs-chise.git.1] / src / EmacsManager.c
index 800801e..42398c7 100644 (file)
@@ -87,7 +87,7 @@ EmacsManagerClassRec emacsManagerClassRec = {
     /* num_resources      */    XtNumber(resources),
     /* xrm_class          */    NULLQUARK,
     /* compress_motion   */    TRUE,
-    /* compress_exposure  */   TRUE,
+    /* compress_exposure  */   XtExposeCompressMaximal | XtExposeNoRegion,
     /* compress_enterleave*/   TRUE,
     /* visible_interest   */    FALSE,
     /* destroy            */    NULL,
@@ -240,11 +240,15 @@ EmacsManagerChangeSize (Widget w, Dimension width, Dimension height)
 
   /* do nothing if we're already that size */
   if (w->core.width != width || w->core.height != height)
-    if (XtMakeResizeRequest (w, width, height, &w->core.width, &w->core.height)
-       == XtGeometryAlmost)
-      XtMakeResizeRequest (w, w->core.width, w->core.height, NULL, NULL);
-
-  Resize (w);
+    {
+      XtGeometryResult result =
+       XtMakeResizeRequest (w, width, height, &w->core.width, &w->core.height);
+      if (result == XtGeometryNo)
+       return;
+      if (result == XtGeometryAlmost)
+       XtMakeResizeRequest (w, w->core.width, w->core.height, NULL, NULL);
+      Resize (w);
+    }
 }