emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch to fix frame positioning with negative top/left values on Wind


From: Francis Litterio
Subject: Re: Patch to fix frame positioning with negative top/left values on Windows
Date: Fri, 08 Jul 2005 20:30:07 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]