Mercurial > emacs
changeset 12573:f8193b0f95ed
(mouse_get_pos, mouse_check_moved, XMenuActivate):
Access mouse_moved in selected_frame.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 18 Jul 1995 00:25:14 +0000 |
parents | 80bf29e6e978 |
children | bbd93011edef |
files | src/msdos.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/msdos.c Tue Jul 18 00:05:14 1995 +0000 +++ b/src/msdos.c Tue Jul 18 00:25:14 1995 +0000 @@ -1397,7 +1397,7 @@ *bar_window = Qnil; gettimeofday (&tv, NULL); mouse_get_xy (&ix, &iy); - mouse_moved = 0; + selected_frame->mouse_moved = 0; *x = make_number (ix); *y = make_number (iy); *time = tv.tv_usec; @@ -1409,7 +1409,7 @@ int x, y; mouse_get_xy (&x, &y); - mouse_moved |= (x != mouse_last_x || y != mouse_last_y); + selected_frame->mouse_moved |= (x != mouse_last_x || y != mouse_last_y); mouse_last_x = x; mouse_last_y = y; } @@ -1737,9 +1737,9 @@ while (!leave) { mouse_check_moved (); - if (mouse_moved) + if (selected_frame->mouse_moved) { - mouse_moved = 0; + selected_frame->mouse_moved = 0; result = XM_IA_SELECT; mouse_get_xy (&x, &y); for (i = 0; i < statecount; i++)