]> git.eshelyaron.com Git - emacs.git/commitdiff
[HAVE_NTGUI] (do_scrolling, do_direct_scrolling): Update frame geometry.
authorGeoff Voelker <voelker@cs.washington.edu>
Tue, 7 Nov 1995 07:25:15 +0000 (07:25 +0000)
committerGeoff Voelker <voelker@cs.washington.edu>
Tue, 7 Nov 1995 07:25:15 +0000 (07:25 +0000)
Use FRAME_WINDOW_P instead of testing for specific window system frames.

Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.

src/scroll.c

index 75de9ebba8925d3a1f04f5984711c8c82e728773..5b583376fba41f6f005c1f45ff26cbf78774fe84 100644 (file)
@@ -272,8 +272,8 @@ do_scrolling (frame, matrix, window_size, unchanged_at_top)
   bcopy (current_frame->bufp, temp_frame->bufp,
         current_frame->height * sizeof (int));
 
-#ifdef HAVE_X_WINDOWS
-  if (FRAME_X_P (frame))
+#ifdef HAVE_WINDOW_SYSTEM
+  if (FRAME_WINDOW_P (frame))
     {
       bcopy (current_frame->top_left_x, temp_frame->top_left_x,
             current_frame->height * sizeof (short));
@@ -678,8 +678,8 @@ do_direct_scrolling (frame, matrix, window_size, unchanged_at_top)
   bcopy (current_frame->bufp, temp_frame->bufp,
         current_frame->height * sizeof (int));
 
-#ifdef HAVE_X_WINDOWS
-  if (FRAME_X_P (frame))
+#ifdef HAVE_WINDOW_SYSTEM
+  if (FRAME_WINDOW_P (frame))
     {
       bcopy (current_frame->top_left_x, temp_frame->top_left_x,
             current_frame->height * sizeof (short));