all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.