[Top][All Lists]

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

set-frame-position - is it a bug?

From: Friedrich Laher
Subject: set-frame-position - is it a bug?
Date: Fri, 05 Aug 2005 15:31:38 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

the intetion 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?

reply via email to

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