From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Simplification to mouse-avoidance-mode (patch) + redisplay bug? Date: Sun, 14 May 2006 02:12:46 +0200 Message-ID: References: <4462ECD7.7020106@swipnet.se> <44643442.1020004@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1147565699 20610 80.91.229.2 (14 May 2006 00:14:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 14 May 2006 00:14:59 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 14 02:14:56 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ff4G5-0004b2-S7 for ged-emacs-devel@m.gmane.org; Sun, 14 May 2006 02:14:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ff4G5-0001b8-CV for ged-emacs-devel@m.gmane.org; Sat, 13 May 2006 20:14:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ff4Fs-0001YF-Bh for emacs-devel@gnu.org; Sat, 13 May 2006 20:14:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ff4Fr-0001XF-DR for emacs-devel@gnu.org; Sat, 13 May 2006 20:14:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ff4Fr-0001X6-5E for emacs-devel@gnu.org; Sat, 13 May 2006 20:14:39 -0400 Original-Received: from [195.41.46.235] (helo=pfepa.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Ff4Hs-0003jq-L8; Sat, 13 May 2006 20:16:44 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepa.post.tele.dk (Postfix) with SMTP id AC3FAFAC008; Sun, 14 May 2006 02:14:22 +0200 (CEST) Original-To: Jan =?utf-8?Q?Dj=C3=A4rv?= In-Reply-To: <44643442.1020004@swipnet.se> (Jan =?utf-8?Q?Dj=C3=A4rv's?= message of "Fri, 12 May 2006 09:07:46 +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:54408 Archived-At: Jan Dj=C3=A4rv writes: > Then there is abug somewhere. It could be in X but it could also be > in Emacs event handling, i.e. we are not reading events even if they > are in the X input queue. It is very consistent -- as soon as a key is hit, any "left over" mouse positions set via XWarpPointer are not reported (as MotionNotify events). > I hope you added x_flush, I did. > Are you running with SYNC_INPUT or not? not. >> I'm not sure how important it is to fix this, but there is a patch >> which works for me -- of course a similar change >> is probably needed in x_set_mouse_pixel_position. >> > > This patch has flaws, there may be several calls to XWarpPointer > before we see any MotionNotify events. Sure. I don't think the patch should be installed. I would better leave this as is -- as it seems to be fixed in more recent X implementations. --=20 Kim F. Storm http://www.cua.dk