/[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.291 by rms, Sat Jun 4 18:05:28 2005 UTC revision 1.292 by rms, Mon Jun 6 12:56:53 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          {          {
           /* If the click is not on the menu, deactivate the menu.  */  
           if (x_any_window_to_frame (dpyinfo, event.xexpose.window))  
             popup_activated_flag = 0;  
               
1238            dpyinfo->grabbed &= ~(1 << event.xbutton.button);            dpyinfo->grabbed &= ~(1 << event.xbutton.button);
1239  #ifdef USE_MOTIF /* Pretending that the event came from a  #ifdef USE_MOTIF /* Pretending that the event came from a
1240                      Btn1Down seems the only way to convince Motif to                      Btn1Down seems the only way to convince Motif to

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

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