From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel,gmane.emacs.bugs Subject: Re: Bug in CVS Emacs frame positioning under X Date: Sat, 25 Mar 2006 19:21:41 -0500 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1143332557 16634 80.91.229.2 (26 Mar 2006 00:22:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 26 Mar 2006 00:22:37 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 26 01:22:30 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 1FNJ1T-0003tp-Db for ged-emacs-devel@m.gmane.org; Sun, 26 Mar 2006 01:22:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FNJ1S-0006DA-S6 for ged-emacs-devel@m.gmane.org; Sat, 25 Mar 2006 19:22:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FNJ18-0006CZ-3c for emacs-devel@gnu.org; Sat, 25 Mar 2006 19:22:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FNJ16-0006Bo-QU for emacs-devel@gnu.org; Sat, 25 Mar 2006 19:22:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FNJ15-0006BW-LC; Sat, 25 Mar 2006 19:21:59 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FNJ2F-0004pD-Dl; Sat, 25 Mar 2006 19:23:11 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1FNJ0n-0005Kv-PJ; Sat, 25 Mar 2006 19:21:41 -0500 Original-To: "Fran Litterio" In-reply-to: (flitterio@gmail.com) 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:52059 gmane.emacs.bugs:14989 Archived-At: The symptom is that not all of the frames end up positioned at x/y coordinates 300/300. Some frames are positioned at 300+A/300+B, where A is the width of the left border drawn by the window manager and B is the height of the top border drawn by the window manager. Some frames even end up at 400/400 ! I think I have a patch to src/xterm.c that may fix this. I will try it and let you know if the patch works. This resembles a problem that I struggled with about 10 years ago. It might be the same one. I found that various cases of window positioning were a little bit off. So I would fix the case that failed, and then some other case started to fail. Eventually I gave up. With better records, perhaps I could have determined the pattern of what failed and what succeeded, and figured out an overall solution. We should start keeping such records now, in case the patch which fixes this case breaks another case.