From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Emacs Mac port Date: Mon, 30 Oct 2017 16:38:48 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <6EEBF320-A91F-4B19-B2E0-DED36B14E635@univie.ac.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: blaine.gmane.org 1509349148 16216 195.159.176.226 (30 Oct 2017 07:39:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 30 Oct 2017 07:39:08 +0000 (UTC) User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Cc: emacs-devel@gnu.org To: Konrad Podczeck Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 30 08:39:04 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e94ey-0003Nc-8s for ged-emacs-devel@m.gmane.org; Mon, 30 Oct 2017 08:39:00 +0100 Original-Received: from localhost ([::1]:39017 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e94f5-0002Im-IE for ged-emacs-devel@m.gmane.org; Mon, 30 Oct 2017 03:39:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e94ez-0002Hq-34 for emacs-devel@gnu.org; Mon, 30 Oct 2017 03:39:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e94ev-000695-4o for emacs-devel@gnu.org; Mon, 30 Oct 2017 03:39:01 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:61219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e94eu-00065x-Mx for emacs-devel@gnu.org; Mon, 30 Oct 2017 03:38:57 -0400 Original-Received: from fermat1.math.s.chiba-u.ac.jp (fermat [192.168.32.10]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 572FDF08EC; Mon, 30 Oct 2017 16:38:48 +0900 (JST) (envelope-from mituharu@math.s.chiba-u.ac.jp) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 133.82.132.2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:219824 Archived-At: >>>>> On Tue, 17 Oct 2017 10:41:11 +0900, YAMAMOTO Mitsuharu 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 mituharu@math.s.chiba-u.ac.jp 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);