From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Tool-bar buttons unresponsive with tooltips on Date: Wed, 19 Oct 2005 18:49:03 -0400 Message-ID: <87k6g9unq8.fsf_-_@stupidchicken.com> References: <29911216.1129711174895.JavaMail.www@wwinf0202> <4356830F.3000002@swipnet.se> <6752BDE2-0EF5-47FF-BB01-F9050E7A4026@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1129762185 32224 80.91.229.2 (19 Oct 2005 22:49:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2005 22:49:45 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 20 00:49:43 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ESMkE-0001w8-7f for ged-emacs-devel@m.gmane.org; Thu, 20 Oct 2005 00:49:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESMkD-00078T-OS for ged-emacs-devel@m.gmane.org; Wed, 19 Oct 2005 18:49:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ESMk4-00074y-6X for emacs-devel@gnu.org; Wed, 19 Oct 2005 18:49:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ESMk2-00072o-MJ for emacs-devel@gnu.org; Wed, 19 Oct 2005 18:49:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESMk2-00072X-Hh for emacs-devel@gnu.org; Wed, 19 Oct 2005 18:49:02 -0400 Original-Received: from [18.95.6.101] (helo=localhost.localdomain) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ESMk2-0002Rz-OX for emacs-devel@gnu.org; Wed, 19 Oct 2005 18:49:02 -0400 Original-Received: by localhost.localdomain (Postfix, from userid 1000) id 4C15F1E42BC; Wed, 19 Oct 2005 18:49:03 -0400 (EDT) Original-To: Emacs Devel In-Reply-To: <6752BDE2-0EF5-47FF-BB01-F9050E7A4026@swipnet.se> (Jan D.'s message of "Wed, 19 Oct 2005 19:57:28 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:44362 Archived-At: This patch fixes the bug. However, it's pure hackery since I'm not familiar with the code at all. Can someone tell me if it makes sense to do this? *** emacs/src/xterm.c.~1.884.~ 2005-10-17 08:54:26.000000000 -0400 --- emacs/src/xterm.c 2005-10-19 18:45:30.000000000 -0400 *************** *** 3609,3615 **** last_mouse_scroll_bar = Qnil; note_mouse_highlight (frame, event->x, event->y); /* Remember which glyph we're now on. */ ! remember_mouse_glyph (frame, event->x, event->y, &last_mouse_glyph); return 1; } --- 3609,3616 ---- last_mouse_scroll_bar = Qnil; note_mouse_highlight (frame, event->x, event->y); /* Remember which glyph we're now on. */ ! if (!NILP (tip_frame) && frame != XFRAME (tip_frame)) ! remember_mouse_glyph (frame, event->x, event->y, &last_mouse_glyph); return 1; }