all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* trouble with modify-frame-parameters
@ 2015-05-11 17:38 gottlieb
  2015-05-11 18:07 ` Drew Adams
  0 siblings, 1 reply; 2+ messages in thread
From: gottlieb @ 2015-05-11 17:38 UTC (permalink / raw)
  To: help-gnu-emacs

I execute the following function in *scratch* on a fresh emacs -Q

  (modify-frame-parameters		; for 2560x1600
   nil '((fullscreen . fullheight) (width . 176) (left . -1300)))

My screen is 2560x1600.  Emacs version is 24.4.  System is gentoo/gnome.

The frame does become fullheight and the width does become 176.
However, left is not correct (it should be flush left but is nearly
centered.
The weird part is if I execute the same command again (a second C-j in
*scratch), the frame moves to the correct, flush left, position.

An explanation would be appreciated.
thanks,
allan

PS If I use the more natural (left . 0) the frame moves near the left
edge but is not flush left (even if executed twice).



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-11 18:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-11 17:38 trouble with modify-frame-parameters gottlieb
2015-05-11 18:07 ` Drew Adams

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.