[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs Mac port
From: |
YAMAMOTO Mitsuharu |
Subject: |
Re: Emacs Mac port |
Date: |
Mon, 30 Oct 2017 16:38:48 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Tue, 17 Oct 2017 10:41:11 +0900, YAMAMOTO Mitsuharu <address@hidden>
>>>>> said:
>> (2) Putting the mouse over a tool-bar button, so that the
>> corresponding tooltip appear, and then quickly dragging the frame
>> with the mouse to another place on the screen, the tooltip is still
>> shown for some time at the original screen position.
> I'll look into it later.
I think I could find the cause of this problem finally. It took a
long time because it was in the platform-independent part. I'm still
not sure if the patch below is the right way, but could you check if
this also works for your case?
YAMAMOTO Mitsuharu
address@hidden
diff --git a/src/xdisp.c b/src/xdisp.c
index 45eabb10d7..e5e1319e18 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -31029,9 +31029,6 @@ note_mouse_highlight (struct frame *f, int x, int y)
&& part != ON_HEADER_LINE))
clear_mouse_face (hlinfo);
- /* Reset help_echo_string. It will get recomputed below. */
- help_echo_string = Qnil;
-
#ifdef HAVE_WINDOW_SYSTEM
/* If the cursor is on the internal border of FRAME and FRAME's
internal border is draggable, provide some visual feedback. */
@@ -31090,6 +31087,9 @@ note_mouse_highlight (struct frame *f, int x, int y)
if (!WINDOWP (window))
return;
+ /* Reset help_echo_string. It will get recomputed below. */
+ help_echo_string = Qnil;
+
/* Convert to window-relative pixel coordinates. */
w = XWINDOW (window);
frame_to_window_pixel_xy (w, &x, &y);