[Mac-emacs-users] Mouse Face Failing to Clear Bug Fix
Brought to you by:
akochoi
|
From: Andrew C. <ak...@cs...> - 2001-12-08 08:01:46
|
Hi Everyone,
With the patch emacs-21.1-2-mac.patch.gz for building Emacs 21.1 on
Mac OS X, you should be experiencing the following problem. When the
mouse is moved off any text with a mouse face (highlight property),
the highlight is not cleared automatically. This problem can be seen
when you use M-x customize or M-x list-faces-display.
Please try the following patch for the file src/macterm.c.
Andrew.
-----
--- emacs-21.1.30/src/macterm.c Tue Oct 30 21:16:48 2001
+++ emacs/src/macterm.c Sat Dec 8 15:47:25 2001
@@ -7676,8 +7676,11 @@
clear_mouse_face (dpyinfo)
struct mac_display_info *dpyinfo;
{
+#if 0 /* This prevents redrawing tool bar items when changing from one
+ to another while a tooltip is open, so don't do it. */
if (tip_frame)
return;
+#endif
if (! NILP (dpyinfo->mouse_face_window))
show_mouse_face (dpyinfo, DRAW_NORMAL_TEXT);
|