unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Cc: David Karr <davidmichaelkarr@gmail.com>
Subject: Re: (set-frame-position ... 0 0) renders a few pixels right of left edge
Date: Mon, 26 Feb 2024 21:27:51 +0200	[thread overview]
Message-ID: <86a5nnuitk.fsf@gnu.org> (raw)
In-Reply-To: <CAA5t8VpXAUeLC=hC7M=r=FaEzsZPsdu5dGvy4FpPUg=A2kRFhg@mail.gmail.com> (message from David Karr on Mon, 26 Feb 2024 11:20:17 -0800)

> From: David Karr <davidmichaelkarr@gmail.com>
> Date: Mon, 26 Feb 2024 11:20:17 -0800
> 
> I saw in the archives that Eli Zaretskii had replied to this, but I never
> saw it in my inbox.

That's because I replied only to the list, as I normally do here.

> This is what I saw both before and after moving the window:
> 
> Before moving it:
> 
> ((outer-position 0 . 0) (outer-size 689 . 1007) (external-border-size 8 .
> 8) (title-bar-size 651 . 23) (menu-bar-external . t) (menu-bar-size 673 .
> 20) (tab-bar-size 0 . 0) (tool-bar-external) (tool-bar-position . top)
> (tool-bar-size 673 . 36) (internal-border-width . 0))
> 
> After moving it:
> 
> ((outer-position -8 . 0) (outer-size 689 . 1007) (external-border-size 8 .
> 8) (title-bar-size 651 . 23) (menu-bar-external . t) (menu-bar-size 673 .
> 20) (tab-bar-size 0 . 0) (tool-bar-external) (tool-bar-position . top)
> (tool-bar-size 673 . 36) (internal-border-width . 0))
> 
> I assume this agrees with what you said, but I don't know how to solve the
> problem. I have no idea why my Windows 11 laptop is doing this. Note that
> in the last couple of days, I proceeded to set up a new work laptop (HP).
> Both the old (also HP) and new laptop behave exactly the same in this
> respect.

As I wrote, this is the expected behavior on Windows 10/11.

The somewhat unexpected part is not how Windows positions the frame,
but the fact that the frame doesn't get focus when the mouse is at
(0,0).  It does on my system, so I presume something on your system
prevents it from doing that.  I suggest to investigate why the frame
doesn't get focus, because that's the only problem I see in your
description.



      reply	other threads:[~2024-02-26 19:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86a5nnuitk.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=davidmichaelkarr@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).