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: Thu, 9 Jan 2003 22:02:28 +0100 (CET) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200301092201.h09M1DDU029586@stubby.bodenonline.com> 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 1042151327 20442 80.91.224.249 (9 Jan 2003 22:28:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 9 Jan 2003 22:28:47 +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 18Wl9e-0005FM-00 for ; Thu, 09 Jan 2003 23:28:02 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18WlFN-0007Bd-00 for ; Thu, 09 Jan 2003 23:33:58 +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 18Wkmi-00084f-08 for emacs-devel@quimby.gnus.org; Thu, 09 Jan 2003 17:04:20 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18WkcW-0004kw-00 for emacs-devel@gnu.org; Thu, 09 Jan 2003 16:53:48 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18WkKb-0000PC-00 for emacs-devel@gnu.org; Thu, 09 Jan 2003 16:35:30 -0500 Original-Received: from stubby.bodenonline.com ([193.201.16.94]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18WjsC-0002fU-00; Thu, 09 Jan 2003 16:05:57 -0500 Original-Received: from accessno42.bodenonline.com (IDENT:root@accessno42.bodenonline.com [193.201.16.44]) h09M1DDU029586; Thu, 9 Jan 2003 23:01:13 +0100 In-Reply-To: "from Richard Stallman at Jan 9, 2003 02:27:31 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:10610 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10610 > Even the old code relied on these positions to always be correct, > > Where did it require that? I thought it was supposed to call > x_real_positions to get the correct position when necessary. > But I see thats not how it worked. The old code did this: /* Adjust coordinates to be root-window-relative. */ x += f->output_data.x->left_pos; y += f->output_data.x->top_pos; > > I guess the code is ok as you've written it. Please install it. Done. Jan D.