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

Diff of /emacs/src/xterm.c

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

revision 1.865 by handa, Fri May 27 11:28:30 2005 UTC revision 1.866 by kfstorm, Fri Jun 3 23:02:03 2005 UTC
# Line 6776  handle_one_xevent (dpyinfo, eventp, fini Line 6776  handle_one_xevent (dpyinfo, eventp, fini
6776            {            {
6777              dpyinfo->grabbed |= (1 << event.xbutton.button);              dpyinfo->grabbed |= (1 << event.xbutton.button);
6778              last_mouse_frame = f;              last_mouse_frame = f;
             /* Ignore any mouse motion that happened  
                before this event; any subsequent mouse-movement  
                Emacs events should reflect only motion after  
                the ButtonPress.  */  
             if (f != 0)  
               f->mouse_moved = 0;  
6779    
6780              if (!tool_bar_p)              if (!tool_bar_p)
6781                last_tool_bar_item = -1;                last_tool_bar_item = -1;
# Line 6789  handle_one_xevent (dpyinfo, eventp, fini Line 6783  handle_one_xevent (dpyinfo, eventp, fini
6783          else          else
6784            dpyinfo->grabbed &= ~(1 << event.xbutton.button);            dpyinfo->grabbed &= ~(1 << event.xbutton.button);
6785    
6786            /* Ignore any mouse motion that happened before this event;
6787               any subsequent mouse-movement Emacs events should reflect
6788               only motion after the ButtonPress/Release.  */
6789            if (f != 0)
6790              f->mouse_moved = 0;
6791    
6792  #if defined (USE_X_TOOLKIT) || defined (USE_GTK)  #if defined (USE_X_TOOLKIT) || defined (USE_GTK)
6793          f = x_menubar_window_to_frame (dpyinfo, event.xbutton.window);          f = x_menubar_window_to_frame (dpyinfo, event.xbutton.window);
6794          /* For a down-event in the menu bar,          /* For a down-event in the menu bar,

Legend:
Removed from v.1.865  
changed lines
  Added in v.1.866

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