help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: set-frame-position - is it a bug


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

thank you folks

it actually seems to be an interaction problem emacs <---> Windomanager

if found out that the vertical position from frameparameters needs an adustment
of
-24
indipendent of the horizontal shift

but if it's repeated fast, e.g. with

(setq n 5)
(while (> (setq n (1- n)) 0 )
(progn
 (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 24))

)
)

then the -24 are wrong

I am running thaf in KDE 3.2.1, SusSE Linux 9.1, SMP Kernel ( Tyan Tiger Board with 2 processors )

emacs-version info 21.2.1 (i586-suse-linux X toolkit Xaw3d scroll bars ) of 2004-04-06 on gray






reply via email to

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