Commit a5570f57 authored by Geoff Voelker's avatar Geoff Voelker

[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.
parent 583dcae4
......@@ -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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment