# HG changeset patch # User Jason Rumney # Date 948597661 0 # Node ID 22e4449438ff39c2a1ff1d64dbd9ade3a6e6316c # Parent d6331257c601c7fbddc0ce3c990c9a07fb114a8d (get_frame, w32_console_mouse_position, mouse_moved_to): Use SELECTED_FRAME macro. diff -r d6331257c601 -r 22e4449438ff src/w32inevt.c --- a/src/w32inevt.c Sun Jan 23 03:19:10 2000 +0000 +++ b/src/w32inevt.c Sun Jan 23 03:21:01 2000 +0000 @@ -110,7 +110,7 @@ static FRAME_PTR get_frame (void) { - return selected_frame; + return SELECTED_FRAME (); } /* Translate console modifiers to emacs modifiers. @@ -519,7 +519,7 @@ *f = get_frame (); *bar_window = Qnil; *part = 0; - selected_frame->mouse_moved = 0; + SELECTED_FRAME ()->mouse_moved = 0; *x = movement_pos.X; *y = movement_pos.Y; @@ -535,7 +535,7 @@ /* If we're in the same place, ignore it */ if (x != movement_pos.X || y != movement_pos.Y) { - selected_frame->mouse_moved = 1; + SELECTED_FRAME ()->mouse_moved = 1; movement_pos.X = x; movement_pos.Y = y; movement_time = GetTickCount ();