(U+6215): Apply new conventions for glyph granularity.
[chise/xemacs-chise.git.1] / src / EmacsFrame.c
index 78ac737..fbb6800 100644 (file)
@@ -185,7 +185,7 @@ static XtResource resources[] = {
     offset (bell_volume), XtRImmediate, (XtPointer)0 },
   { XtNuseBackingStore, XtCUseBackingStore,
     XtRBoolean, sizeof (Boolean),
-    offset (use_backing_store), XtRImmediate, (XtPointer)0 },
+    offset (use_backing_store), XtRImmediate, (XtPointer) NotUseful },
   { XtNpreferredWidth, XtCPreferredWidth,
     XtRDimension, sizeof (Dimension),
     offset (preferred_width), XtRImmediate, (XtPointer)0 },
@@ -235,7 +235,11 @@ EmacsFrameClassRec emacsFrameClassRec = {
     /* resource_count          */      XtNumber (resources),
     /* xrm_class               */      NULLQUARK,
     /* compress_motion         */      TRUE,
+#ifdef LWLIB_USES_MOTIF
     /* compress_exposure       */      TRUE,
+#else
+    /* compress_exposure       */      XtExposeCompressMaximal | XtExposeNoRegion,
+#endif
     /* compress_enterleave     */      TRUE,
     /* visible_interest                */      FALSE,
     /* destroy                 */      NULL,
@@ -517,7 +521,7 @@ EmacsFrameSetValues (Widget cur_widget, Widget req_widget, Widget new_widget,
   if (cur->core.width == new->core.width
       && cur->core.height == new->core.height)
     {
-      int i;
+      Cardinal i;
       for (i=0; i<*argc; i++)
        if (strcmp (argv[i].name, XtNwidth) == 0
            || strcmp (argv[i].name, XtNheight) == 0)
@@ -638,7 +642,7 @@ EmacsFrameRecomputeCellSize (Widget w)
   struct frame *f = ew->emacs_frame.frame;
 
   if (! XtIsSubclass (w, emacsFrameClass))
-    abort ();
+    ABORT ();
 
   default_face_height_and_width (make_frame (f), &ch, &cw);
   if (FRAME_X_TOP_LEVEL_FRAME_P (f))