comparison src/xterm.c @ 11953:d349456b4b1c

(XTread_socket): Don't call popup_get_selection here.
author Karl Heuer <kwzh@gnu.org>
date Fri, 26 May 1995 22:46:36 +0000
parents 6ecaa3fac4e4
children a1ce6f699967
comparison
equal deleted inserted replaced
11952:655dd1479452 11953:d349456b4b1c
3915 struct scroll_bar *bar 3915 struct scroll_bar *bar
3916 = x_window_to_scroll_bar (event.xbutton.window); 3916 = x_window_to_scroll_bar (event.xbutton.window);
3917 3917
3918 if (bar) 3918 if (bar)
3919 x_scroll_bar_handle_click (bar, &event, &emacs_event); 3919 x_scroll_bar_handle_click (bar, &event, &emacs_event);
3920 #if 0 /* It doesn't make sense to do this.
3921 Menu bar clicks are handled within the toolkit itself. */
3920 #ifdef USE_X_TOOLKIT 3922 #ifdef USE_X_TOOLKIT
3921 else 3923 else
3922 { 3924 {
3923 /* Assume we have a menubar button press. A bad 3925 /* Assume we have a menubar button press. A bad
3924 assumption should behave benignly. */ 3926 assumption should behave benignly. */
3925 popup_get_selection (&event, dpyinfo); 3927 popup_get_selection (&event, dpyinfo);
3926 break; 3928 break;
3927 } 3929 }
3928 #endif /* USE_X_TOOLKIT */ 3930 #endif /* USE_X_TOOLKIT */
3931 #endif
3929 } 3932 }
3930 3933
3931 if (event.type == ButtonPress) 3934 if (event.type == ButtonPress)
3932 { 3935 {
3933 dpyinfo->grabbed |= (1 << event.xbutton.button); 3936 dpyinfo->grabbed |= (1 << event.xbutton.button);