/[emacs]/emacs/src/xmenu.c
ViewVC logotype

Diff of /emacs/src/xmenu.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.290 by nickrob, Tue May 24 03:45:42 2005 UTC revision 1.291 by rms, Sat Jun 4 18:05:28 2005 UTC
# Line 1235  popup_get_selection (initial_event, dpyi Line 1235  popup_get_selection (initial_event, dpyi
1235        if (event.type == ButtonRelease        if (event.type == ButtonRelease
1236            && dpyinfo->display == event.xbutton.display)            && dpyinfo->display == event.xbutton.display)
1237          {          {
1238              /* If the click is not on the menu, deactivate the menu.  */
1239              if (x_any_window_to_frame (dpyinfo, event.xexpose.window))
1240                popup_activated_flag = 0;
1241                
1242            dpyinfo->grabbed &= ~(1 << event.xbutton.button);            dpyinfo->grabbed &= ~(1 << event.xbutton.button);
1243  #ifdef USE_MOTIF /* Pretending that the event came from a  #ifdef USE_MOTIF /* Pretending that the event came from a
1244                      Btn1Down seems the only way to convince Motif to                      Btn1Down seems the only way to convince Motif to

Legend:
Removed from v.1.290  
changed lines
  Added in v.1.291

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26