[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: RE: set-frame-position - is it a bug?]
From: |
Chong Yidong |
Subject: |
Re: address@hidden: RE: set-frame-position - is it a bug?] |
Date: |
Wed, 12 Jul 2006 12:07:59 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> Would someone please try to debug this?
I can't reproduce this. Maybe this is a Windoze-only bug, or it's
fixed in the current CVS.
(On GNU/Linux, there is a different frame movement bug, which was
previously discussed on this list, that's not caused by Emacs but by
the Metacity window manager [apparently the latest version of Metacity
doesn't like programs to specify window positions; other window
managers work OK].)
> To: "Emacs-Pretest-Bug" <address@hidden>
> Date: Sat, 10 Jun 2006 09:56:26 -0700
>
> This bug was apparently never fixed. To reproduce, simply resize a frame
> horizontally so that the menu-bar wraps, then change the 'left frame
> parameter.
>
> (setq left-pos (cdr (assq 'left (frame-parameters))))
> (modify-frame-parameters (selected-frame)
> (list (cons 'left (+ 30 left-pos))))
>
> The frame moves down, as well as right.
>
> Sent: Friday, August 05, 2005 7:39 AM
> To: address@hidden
> Cc: Emacs-Devel
> Subject: RE: set-frame-position - is it a bug?
>
> the intention of the following code
> (setq fpx (cdr (assoc 'left (frame-parameters))))
> (setq fpy (cdr (assoc 'top (frame-parameters))))
> (setq fpx (+ 1 fpx))
> (set-frame-position (next-frame) fpx fpy)
> is to move the frame honizontally 1 pixel right;
> but as a side-effect I get a vertical move as well.
> Is there something wrong with my code?