comparison src/xmenu.c @ 11125:dc78213dd2b3

(Fx_popup_menu): Pass 1 for `insist' arg. (Fx_popup_dialog): Likewise.
author Richard M. Stallman <rms@gnu.org>
date Sun, 26 Mar 1995 21:13:19 +0000
parents cd9261d8d347
children 7c968b691ff0
comparison
equal deleted inserted replaced
11124:020042ee37cd 11125:dc78213dd2b3
730 Lisp_Object bar_window; 730 Lisp_Object bar_window;
731 int part; 731 int part;
732 unsigned long time; 732 unsigned long time;
733 733
734 if (mouse_position_hook) 734 if (mouse_position_hook)
735 (*mouse_position_hook) (&new_f, &bar_window, &part, &x, &y, &time); 735 (*mouse_position_hook) (&new_f, 1, &bar_window,
736 &part, &x, &y, &time);
736 if (new_f != 0) 737 if (new_f != 0)
737 XSETFRAME (window, new_f); 738 XSETFRAME (window, new_f);
738 else 739 else
739 { 740 {
740 window = selected_window; 741 window = selected_window;
920 Lisp_Object bar_window; 921 Lisp_Object bar_window;
921 int part; 922 int part;
922 unsigned long time; 923 unsigned long time;
923 Lisp_Object x, y; 924 Lisp_Object x, y;
924 925
925 (*mouse_position_hook) (&new_f, &bar_window, &part, &x, &y, &time); 926 (*mouse_position_hook) (&new_f, 1, &bar_window, &part, &x, &y, &time);
926 927
927 if (new_f != 0) 928 if (new_f != 0)
928 XSETFRAME (window, new_f); 929 XSETFRAME (window, new_f);
929 else 930 else
930 window = selected_window; 931 window = selected_window;