help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (set-frame-position ... 0 0) renders a few pixels right of left edge


From: Eli Zaretskii
Subject: Re: (set-frame-position ... 0 0) renders a few pixels right of left edge
Date: Mon, 26 Feb 2024 21:27:51 +0200

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]