all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* (set-frame-position ... 0 0) renders a few pixels right of left edge
@ 2024-02-22 22:07 David Karr
  2024-02-23  7:47 ` Eli Zaretskii
  2024-02-26 19:20 ` David Karr
  0 siblings, 2 replies; 4+ messages in thread
From: David Karr @ 2024-02-22 22:07 UTC (permalink / raw)
  To: help-gnu-emacs

On Windows 11, using Cygwin Emacs, I have the following at the top of my
.emacs file:

(set-frame-position (selected-frame) 0 0)
(set-frame-height (selected-frame) 57)

When the window appears, the left edge is a few pixels to the right of the
left edge. If I throw the mouse cursor to the edge of the screen, the emacs
window is not in focus.

Each time emacs starts up, I have to manually drag the window a few pixels
to the left so it aligns to the left edge.

I thought perhaps that giving the X value a negative value would help, but
the doc says that would result in a completely different behavior, making
the right edge relative to the right edge of the screen. I suppose I could
drill down until I figured out the exact negative value from the right
edge, but that is a little annoying, and it would break if I connected to a
larger monitor.


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

end of thread, other threads:[~2024-02-26 19:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-22 22:07 (set-frame-position ... 0 0) renders a few pixels right of left edge David Karr
2024-02-23  7:47 ` Eli Zaretskii
2024-02-26 19:20 ` David Karr
2024-02-26 19:27   ` Eli Zaretskii

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.