comparison src/xterm.c @ 20180:bfbf6a2939a3

(XTmouse_position): Handle INSIST < 0.
author Karl Heuer <kwzh@gnu.org>
date Fri, 24 Oct 1997 19:58:39 +0000
parents 34099ec680df
children 9f3dd970927e
comparison
equal deleted inserted replaced
20179:b4fe0e8ac819 20180:bfbf6a2939a3
2741 { 2741 {
2742 FRAME_PTR f1; 2742 FRAME_PTR f1;
2743 2743
2744 BLOCK_INPUT; 2744 BLOCK_INPUT;
2745 2745
2746 if (! NILP (last_mouse_scroll_bar)) 2746 if (! NILP (last_mouse_scroll_bar) && insist == 0)
2747 x_scroll_bar_report_motion (fp, bar_window, part, x, y, time); 2747 x_scroll_bar_report_motion (fp, bar_window, part, x, y, time);
2748 else 2748 else
2749 { 2749 {
2750 Window root; 2750 Window root;
2751 int root_x, root_y; 2751 int root_x, root_y;
2870 win_x = parent_x; 2870 win_x = parent_x;
2871 win_y = parent_y; 2871 win_y = parent_y;
2872 } 2872 }
2873 } 2873 }
2874 2874
2875 if (f1 == 0 && insist) 2875 if (f1 == 0 && insist > 0)
2876 f1 = selected_frame; 2876 f1 = selected_frame;
2877 2877
2878 if (f1) 2878 if (f1)
2879 { 2879 {
2880 int ignore1, ignore2; 2880 int ignore1, ignore2;