unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Re: set-frame-position - is it a bug
@ 2005-08-05 16:47 Friedrich Laher
  0 siblings, 0 replies; only message in thread
From: Friedrich Laher @ 2005-08-05 16:47 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-05 16:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-05 16:47 set-frame-position - is it a bug Friedrich Laher

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).