emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/xterm.c


From: Jan Djärv
Subject: [Emacs-diffs] Changes to emacs/src/xterm.c
Date: Thu, 09 Feb 2006 15:54:57 +0000

Index: emacs/src/xterm.c
diff -u emacs/src/xterm.c:1.893 emacs/src/xterm.c:1.894
--- emacs/src/xterm.c:1.893     Mon Jan 23 22:08:13 2006
+++ emacs/src/xterm.c   Thu Feb  9 15:54:56 2006
@@ -6495,6 +6495,12 @@
         so update things that depend on mouse position.  */
       if (f && !f->output_data.x->hourglass_p)
        note_mouse_movement (f, &event.xmotion);
+#ifdef USE_GTK
+      /* We may get an EnterNotify on the buttons in the toolbar.  In that
+         case we moved out of any highlighted area and need to note this.  */
+      if (!f && last_mouse_glyph_frame)
+        note_mouse_movement (last_mouse_glyph_frame, &event);
+#endif
       goto OTHER;
 
     case FocusIn:
@@ -6522,6 +6528,11 @@
           if (any_help_event_p)
            do_help = -1;
         }
+#ifdef USE_GTK
+      /* See comment in EnterNotify above */
+      else if (last_mouse_glyph_frame)
+        note_mouse_movement (last_mouse_glyph_frame, &event);
+#endif
       goto OTHER;
 
     case FocusOut:




reply via email to

[Prev in Thread] Current Thread [Next in Thread]