[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/xterm.c
From: |
Kim F . Storm |
Subject: |
[Emacs-diffs] Changes to emacs/src/xterm.c |
Date: |
Fri, 03 Jun 2005 19:02:03 -0400 |
Index: emacs/src/xterm.c
diff -c emacs/src/xterm.c:1.865 emacs/src/xterm.c:1.866
*** emacs/src/xterm.c:1.865 Fri May 27 11:28:30 2005
--- emacs/src/xterm.c Fri Jun 3 23:02:03 2005
***************
*** 6776,6787 ****
{
dpyinfo->grabbed |= (1 << event.xbutton.button);
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;
if (!tool_bar_p)
last_tool_bar_item = -1;
--- 6776,6781 ----
***************
*** 6789,6794 ****
--- 6783,6794 ----
else
dpyinfo->grabbed &= ~(1 << event.xbutton.button);
+ /* Ignore any mouse motion that happened before this event;
+ any subsequent mouse-movement Emacs events should reflect
+ only motion after the ButtonPress/Release. */
+ if (f != 0)
+ f->mouse_moved = 0;
+
#if defined (USE_X_TOOLKIT) || defined (USE_GTK)
f = x_menubar_window_to_frame (dpyinfo, event.xbutton.window);
/* For a down-event in the menu bar,
- [Emacs-diffs] Changes to emacs/src/xterm.c,
Kim F . Storm <=