[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#54863: 28.1; hook move-frame-functions not working in emacs 28.1
From: |
Po Lu |
Subject: |
bug#54863: 28.1; hook move-frame-functions not working in emacs 28.1 |
Date: |
Wed, 07 Sep 2022 09:05:31 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Po Lu <luangruo@yahoo.com> writes:
>
>> Nice! Are the values of the parameters `left' and `top' correct too
>> once the hook fires? Converting between the cartesian NS screen
>> coordinate system and the X one is sometimes tricky, and I don't
>> completely understand the NS_PARENT_WINDOW_XXX_POS macros.
>
> Yes, it looks like they're correct. If I drag the frame as far left and
> top as it gets, I get a left value of 0 and a top value of 25 -- but the
> Macos menu bar is to the top. Eyeballing it by dragging it so that it
> has a top value of 50, I then have a space of two menu bars above the
> frame.
>
> So looks correct to me.
Thanks, I'll install that change now.