changeset 13415:5c4c0319a6e7

[HAVE_NTGUI] (do_scrolling, do_direct_scrolling): Update frame geometry. Use FRAME_WINDOW_P instead of testing for specific window system frames. Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
author Geoff Voelker <voelker@cs.washington.edu>
date Tue, 07 Nov 1995 07:25:15 +0000
parents b035c6e41457
children 58e22ceabff4
files src/scroll.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/scroll.c	Tue Nov 07 07:23:14 1995 +0000
+++ b/src/scroll.c	Tue Nov 07 07:25:15 1995 +0000
@@ -272,8 +272,8 @@
   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 @@
   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));