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: Tue, 07 Jan 2003 08:40:09 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200301061942.h06Jgae0010061@stubby.bodenonline.com> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1041968603 1685 80.91.224.249 (7 Jan 2003 19:43:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 7 Jan 2003 19:43:23 +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 18VzdB-0000Qw-00 for ; Tue, 07 Jan 2003 20:43:21 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18Vzht-0002Vv-00 for ; Tue, 07 Jan 2003 20:48:13 +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 18Vz9B-0003wy-09 for emacs-devel@quimby.gnus.org; Tue, 07 Jan 2003 14:12:21 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18VuTP-0000h0-00 for emacs-devel@gnu.org; Tue, 07 Jan 2003 09:12:55 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18VuMh-00076Z-00 for emacs-devel@gnu.org; Tue, 07 Jan 2003 09:06:25 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Vty7-0005Fa-00 for emacs-devel@gnu.org; Tue, 07 Jan 2003 08:40:35 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18Vtxh-0002a6-00; Tue, 07 Jan 2003 08:40:09 -0500 Original-To: jan.h.d@swipnet.se In-reply-to: <200301061942.h06Jgae0010061@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:10533 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10533 I could add a call to x_real_positions. Any correction would look exactly like the code in x_real_positions. Ok, how about calling x_real_positions? I am pretty sure that x_real_positions was really necessary in the past, at least. The solution suggested is to take advantage of the split that the GTK patch does, so the case ConfigureNotify code is executed even for recursive X event loops. Can you tell me how that split is useful here? Abort sounds a bit drastic, how about popping up a dialog instead? This abort would be temporary. Once we find out whether they are ever different, we would either fix the code so they are never different, or remove the abort and just call x_real_positions here.