Mercurial > emacs
changeset 27399:22e4449438ff
(get_frame, w32_console_mouse_position, mouse_moved_to):
Use SELECTED_FRAME macro.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Sun, 23 Jan 2000 03:21:01 +0000 |
parents | d6331257c601 |
children | da3ee40952bf |
files | src/w32inevt.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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 ();