From: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: bug-gnu-emacs@gnu.org, Fran Litterio <flitterio@gmail.com>,
emacs-devel@gnu.org
Subject: Re: Bug in CVS Emacs frame positioning under X
Date: Mon, 27 Mar 2006 08:48:20 +0200 [thread overview]
Message-ID: <44278AB4.90006@swipnet.se> (raw)
In-Reply-To: <E1FNJ0n-0005Kv-PJ@fencepost.gnu.org>
Richard Stallman wrote:
> 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.
Please also tell which window managers you tested it on.
>
> 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.
That is the basic problem. Each window manager does window moves differently,
and the fact that events may come at different times complicates things. I
now try to make it work on a lot of window managers, but I gave up on "all".
>
> 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.
The patch must be tested on at least 10 or so of the most common window
managers. Usually it is difficult to make a patch that doesn't break some
other window manager.
Jan D.
next prev parent reply other threads:[~2006-03-27 6:48 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <loom.20060322T040148-762@post.gmane.org>
2006-03-22 13:44 ` Bug in CVS Emacs frame positioning under X Richard Stallman
2006-03-22 13:56 ` Fran Litterio
2006-03-22 21:02 ` Fran Litterio
2006-03-26 0:21 ` Richard Stallman
2006-03-27 6:48 ` Jan Djärv [this message]
2006-03-28 16:38 ` Fran Litterio
2006-03-28 16:59 ` Jan Djärv
2006-03-29 23:01 ` Richard Stallman
2006-04-01 15:38 ` Fran Litterio
2006-04-02 20:38 ` Richard Stallman
2006-04-03 7:11 ` Jan D.
2006-04-03 7:32 ` Jan D.
2006-04-03 18:24 ` Richard Stallman
2006-04-04 0:42 ` Fran Litterio
2006-04-04 6:49 ` Jan D.
2006-04-04 19:57 ` Richard Stallman
2006-05-08 14:17 ` Fran Litterio
2006-05-09 4:44 ` Richard Stallman
2006-05-17 10:13 ` Fran Litterio
2006-05-17 20:09 ` Richard Stallman
2006-04-04 6:34 ` Jan D.
2006-03-23 14:53 Francis Litterio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44278AB4.90006@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=bug-gnu-emacs@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=flitterio@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).