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 },
/* 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,
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)
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))