# HG changeset patch # User Karl Heuer # Date 806027114 0 # Node ID f8193b0f95ed35f42ef22e24634b7d0db3ce7bd5 # Parent 80bf29e6e978e65348ae098a2986c4f3576fa892 (mouse_get_pos, mouse_check_moved, XMenuActivate): Access mouse_moved in selected_frame. diff -r 80bf29e6e978 -r f8193b0f95ed src/msdos.c --- 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++)