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

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

bug#71912: 30.0.50; Inaccurate window-absolute-pixel-position Values on


From: Gerd Möllmann
Subject: bug#71912: 30.0.50; Inaccurate window-absolute-pixel-position Values on macOS After Sleep and During Fullscreen Mode
Date: Fri, 26 Jul 2024 21:27:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Alan Third <alan@idiocy.org> writes:

> On Thu, Jul 25, 2024 at 09:39:16AM +0200, Gerd Möllmann wrote:
>> Gerd Möllmann <gerd.moellmann@gmail.com> writes:
>> 
>> The following patch for master addresses this at least partially. Part
>> of the problem is, it appears to me, is that windowDidMove is not called
>> when entering/exiting fullscreen mode, so that a frame's left_pos and
>> top_pos are not adjusted. The patch tries to fix that. I haven't found
>> out what to do with the frame parameters top and left.
>
> If you look at toggleFullScreen it creates a new NSWindow for
> switching to fullscreen, or re-uses the old non-fullscreen NSWindow
> when switching out of fullscreen, so the windows don't move.
>
> You can actually just call windowDidMove directly. I'd suggest doing
> it at the end of toggleFullScreen.

Thanks, I'll give that a try tomorrow.





reply via email to

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