From 4f4a5f699ba86f9186a8112c82cd46ff5f17e363 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Sun, 23 Jan 2000 03:21:01 +0000 Subject: [PATCH] (get_frame, w32_console_mouse_position, mouse_moved_to): Use SELECTED_FRAME macro. --- src/w32inevt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/w32inevt.c b/src/w32inevt.c index de15f0970b2..0abae10cabe 100644 --- a/src/w32inevt.c +++ b/src/w32inevt.c @@ -110,7 +110,7 @@ fill_queue (BOOL block) static FRAME_PTR get_frame (void) { - return selected_frame; + return SELECTED_FRAME (); } /* Translate console modifiers to emacs modifiers. @@ -519,7 +519,7 @@ w32_console_mouse_position (FRAME_PTR *f, *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 @@ mouse_moved_to (int x, int y) /* 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 (); -- 2.39.5