diff options
author | Geoff Voelker <voelker@cs.washington.edu> | 1995-11-07 07:25:15 +0000 |
---|---|---|
committer | Geoff Voelker <voelker@cs.washington.edu> | 1995-11-07 07:25:15 +0000 |
commit | a5570f57ca4c99243378922745b26e0d9133bd4a (patch) | |
tree | 9b8525b89910fe75e52749ebd6942abeeba068c4 /src/scroll.c | |
parent | 583dcae42e45ab4de6a904c98563b38f8fdcb1c2 (diff) | |
download | emacs-a5570f57ca4c99243378922745b26e0d9133bd4a.tar.gz |
[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.
Diffstat (limited to 'src/scroll.c')
-rw-r--r-- | src/scroll.c | 8 |
1 files changed, 4 insertions, 4 deletions
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)); |