From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: x-popup-menu pops up at funny positions Date: Wed, 08 Jan 2003 03:00:11 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200301071843.h07IhZdw005735@stubby.bodenonline.com> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1042018615 4025 80.91.224.249 (8 Jan 2003 09:36:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 8 Jan 2003 09:36:55 +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 18WCdq-00012Z-00 for ; Wed, 08 Jan 2003 10:36:54 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18WCio-0002Oa-00 for ; Wed, 08 Jan 2003 10:42:03 +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 18WCEQ-0006uJ-05 for emacs-devel@quimby.gnus.org; Wed, 08 Jan 2003 04:10:38 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18WBHF-0004qk-00 for emacs-devel@gnu.org; Wed, 08 Jan 2003 03:09:29 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18WBGt-0004ff-00 for emacs-devel@gnu.org; Wed, 08 Jan 2003 03:09:21 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18WB8G-0002Rf-00 for emacs-devel@gnu.org; Wed, 08 Jan 2003 03:00:12 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18WB8F-0004j7-00; Wed, 08 Jan 2003 03:00:11 -0500 Original-To: jan.h.d@swipnet.se In-reply-to: <200301071843.h07IhZdw005735@stubby.bodenonline.com> (jan.h.d@swipnet.se) 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:10576 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10576 > 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.