]> git.eshelyaron.com Git - emacs.git/commitdiff
(redisplay_internal, note_mouse_highlight): Check
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sun, 18 Mar 2007 08:07:17 +0000 (08:07 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sun, 18 Mar 2007 08:07:17 +0000 (08:07 +0000)
popup_activated for MAC_OS.

src/ChangeLog
src/xdisp.c

index e87dbc60449f1a7f26dab75f606f748a3efb12bc..6204e5fd0d17b1f1d38303a8dda81d752b7d4944 100644 (file)
@@ -1,3 +1,15 @@
+2007-03-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c (note_mouse_movement): Don't return immediately for
+       LeaveNotify case.
+
+       * macmenu.c (popup_activated_flag): New variable.
+       (x_activate_menubar, mac_menu_show): Set it during menu tracking.
+       (popup_activated): New function.
+
+       * xdisp.c (redisplay_internal, note_mouse_highlight): Check
+       popup_activated for MAC_OS.
+
 2007-03-17  Juanma Barranquero  <lekktu@gmail.com>
 
        * buffer.c (syms_of_buffer) <buffer-display-table>: Doc fix.
index 544043f2747ec7a1f257720b89a6644923e63b28..c02a43d9a0c8f5049cbf96923126f765cb17a7c5 100644 (file)
@@ -10872,7 +10872,7 @@ redisplay_internal (preserve_echo_area)
        return;
     }
 
-#if defined (USE_X_TOOLKIT) || defined (USE_GTK)
+#if defined (USE_X_TOOLKIT) || defined (USE_GTK) || defined (MAC_OS)
   if (popup_activated ())
     return;
 #endif
@@ -22672,7 +22672,7 @@ note_mouse_highlight (f, x, y)
   struct buffer *b;
 
   /* When a menu is active, don't highlight because this looks odd.  */
-#if defined (USE_X_TOOLKIT) || defined (USE_GTK)
+#if defined (USE_X_TOOLKIT) || defined (USE_GTK) || defined (MAC_OS)
   if (popup_activated ())
     return;
 #endif