diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-07-17 22:23:14 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-07-17 22:23:14 +0000 |
commit | 79ea44c972480a983ef04d42bf25e5dfb657db9f (patch) | |
tree | 0b56d34625184a7519df3fdf6a551f4501430960 /src/w32inevt.c | |
parent | 1f8a58584016d85bf94ce838f88ac827c1961659 (diff) | |
download | emacs-79ea44c972480a983ef04d42bf25e5dfb657db9f.tar.gz |
(win32_mouse_position, mouse_moved_to):
Access mouse_moved in selected_frame.
Diffstat (limited to 'src/w32inevt.c')
-rw-r--r-- | src/w32inevt.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/w32inevt.c b/src/w32inevt.c index 53876cb6ee0..25eccb644e3 100644 --- a/src/w32inevt.c +++ b/src/w32inevt.c @@ -36,9 +36,6 @@ /* stdin, from ntterm */ extern HANDLE keyboard_handle; -/* Indicate mouse motion, from keyboard.c */ -extern int mouse_moved; - /* Info for last mouse motion */ static COORD movement_pos; static DWORD movement_time; @@ -376,7 +373,7 @@ win32_mouse_position (FRAME_PTR *f, *f = get_frame (); *bar_window = Qnil; *part = 0; - mouse_moved = 0; + selected_frame->mouse_moved = 0; *x = movement_pos.X; *y = movement_pos.Y; @@ -392,7 +389,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) { - mouse_moved = 1; + selected_frame->mouse_moved = 1; movement_pos.X = x; movement_pos.Y = y; movement_time = GetTickCount (); |