# HG changeset patch # User Geoff Voelker # Date 815729115 0 # Node ID 5c4c0319a6e767ef90196a444ff3e0d208f9e454 # Parent b035c6e414575be5327687215b6be184eb841bb2 [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. diff -r b035c6e41457 -r 5c4c0319a6e7 src/scroll.c --- 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));