]> code.delx.au - gnu-emacs/blobdiff - src/scroll.c
Document sun change.
[gnu-emacs] / src / scroll.c
index cc743ea0d59387f621be969098ef32e43ea4dd38..954f92a24d6603a577b8c5c0cc44d5af013253b9 100644 (file)
@@ -254,12 +254,8 @@ do_scrolling (frame, matrix, window_size, unchanged_at_top)
         current_frame->height * sizeof (int));
 
 #ifdef HAVE_X_WINDOWS
-  if (FRAME_IS_X (frame))
+  if (FRAME_X_P (frame))
     {
-      bcopy (current_frame->nruns, temp_frame->nruns,
-            current_frame->height * sizeof (int));
-      bcopy (current_frame->face_list, temp_frame->face_list,
-            current_frame->height * sizeof (struct run *));
       bcopy (current_frame->top_left_x, temp_frame->top_left_x,
             current_frame->height * sizeof (short));
       bcopy (current_frame->top_left_y, temp_frame->top_left_y,
@@ -268,6 +264,8 @@ do_scrolling (frame, matrix, window_size, unchanged_at_top)
             current_frame->height * sizeof (short));
       bcopy (current_frame->pix_height, temp_frame->pix_height,
             current_frame->height * sizeof (short));
+      bcopy (current_frame->max_ascent, temp_frame->max_ascent,
+            current_frame->height * sizeof (short));
     }
 #endif