From: Geoff Voelker Date: Tue, 7 Nov 1995 07:25:15 +0000 (+0000) Subject: [HAVE_NTGUI] (do_scrolling, do_direct_scrolling): Update frame geometry. X-Git-Tag: emacs-19.34~2445 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a5570f57ca4c99243378922745b26e0d9133bd4a;p=emacs.git [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 --git a/src/scroll.c b/src/scroll.c index 75de9ebba89..5b583376fba 100644 --- a/src/scroll.c +++ b/src/scroll.c @@ -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));