[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs Mac port
From: |
Konrad Podczeck |
Subject: |
Re: Emacs Mac port |
Date: |
Mon, 30 Oct 2017 13:43:45 +0100 |
Together with this second patch, the 26-based Mac port work for me as great as
the 25-based one. Thanks for all your effort.
Konrad
> Am 30.10.2017 um 08:38 schrieb YAMAMOTO Mitsuharu <address@hidden>:
>
>>>>>> 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);