X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2FEmacsFrame.c;h=fbb6800ab4d7c8fcfdd7fff52b7466f60e3f7e3a;hp=0a1433489d9b67907943d14270ab79561f60fc0c;hb=515ed47192a2fc212474dc246a875771890e0cbe;hpb=dbf2768f7b146e97e37a27316f70bb313f1acf15 diff --git a/src/EmacsFrame.c b/src/EmacsFrame.c index 0a14334..fbb6800 100644 --- a/src/EmacsFrame.c +++ b/src/EmacsFrame.c @@ -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, @@ -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))