From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: x-popup-menu pops up at funny positions Date: Wed, 8 Jan 2003 21:07:25 +0100 (CET) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20030108200838.CJBA10102.fep01-svc.swip.net@gaffa.gaia.swipnet.se> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1042057845 18893 80.91.224.249 (8 Jan 2003 20:30:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 8 Jan 2003 20:30:45 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18WMqZ-0004ua-00 for ; Wed, 08 Jan 2003 21:30:43 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18WMvm-0000XO-00 for ; Wed, 08 Jan 2003 21:36:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18WMju-000412-06 for emacs-devel@quimby.gnus.org; Wed, 08 Jan 2003 15:23:50 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18WMir-0003bg-00 for emacs-devel@gnu.org; Wed, 08 Jan 2003 15:22:45 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18WMZ4-0007AK-00 for emacs-devel@gnu.org; Wed, 08 Jan 2003 15:12:40 -0500 Original-Received: from fep01.swip.net ([130.244.199.129] helo=fep01-svc.swip.net) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18WMVE-0005he-00; Wed, 08 Jan 2003 15:08:40 -0500 Original-Received: from gaffa.gaia.swipnet.se ([213.101.4.249]) by fep01-svc.swip.net with ESMTP <20030108200838.CJBA10102.fep01-svc.swip.net@gaffa.gaia.swipnet.se>; Wed, 8 Jan 2003 21:08:38 +0100 In-Reply-To: "from Richard Stallman at Jan 8, 2003 03:00:11 am" Original-To: rms@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10586 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10586 > > Can you tell me how that split is useful here? > > In the current code we can't pass just one XEvent to the big switch > over event types in xterm.c. With the split we can. So instead of > calling XtDispatchEvent, we use the big switch so the event is > passed through the case for that event, and then goto OTHER > passes it to Xt. In a slightly modified way, this is what the GTK code > does. > > I see. Yes, that does seem clean. If it works, then go for it. Checked in. Jan D.