unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Francis Litterio <franl@world.std.com>
Cc: help-emacs-windows@gnu.org
Subject: Re: Patch to fix frame positioning with negative top/left values on Windows
Date: Fri, 08 Jul 2005 20:30:07 -0400	[thread overview]
Message-ID: <uoe9caka9.fsf@world.std.com> (raw)
In-Reply-To: uzmsy60jk.fsf@world.std.com

I wrote:

> This patch to the CVS Emacs sources fixes the way that function
> x_calc_absolute_position() accounts for the Windows-drawn borders around
> a frame when converting a negative 'top or 'left parameter into the
> equivalent positive value.

I should have said what the symptom of the malfunction is that, on
Windows, when you evaluate this Elisp code:

	(make-frame '((top . -1) (left . -1)))

the new frame will not be positioned with its bottom-right corner in the
bottom-right of the display.

My patch fixes this, even in the case where the use configures
non-standard vertical or horizontal frame border sizes.

Sorry for the confusion.
--
Francis Litterio
franl <at> world . std . com

  reply	other threads:[~2005-07-09  0:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-07 16:23 Patch to fix frame positioning with negative top/left values on Windows Francis Litterio
2005-07-09  0:30 ` Francis Litterio [this message]
2005-07-09  8:07   ` Jason Rumney
2005-07-09 15:16     ` Re: Patch to fix frame positioning with negative top/leftvalues " Drew Adams
2005-07-09 19:38       ` Jason Rumney
2005-07-10  1:17         ` Francis Litterio
2005-07-10  5:19       ` Richard M. Stallman
2006-04-01  7:44 ` Patch to fix frame positioning with negative top/left values onWindows Drew Adams
2006-04-01 16:22   ` Fran Litterio
2006-04-02 20:38     ` Richard Stallman
2006-04-03  1:23       ` Fran 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=uoe9caka9.fsf@world.std.com \
    --to=franl@world.std.com \
    --cc=help-emacs-windows@gnu.org \
    /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).