[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: |
Lars Ingebrigtsen |
Subject: |
bug#54863: 28.1; hook move-frame-functions not working in emacs 28.1 |
Date: |
Tue, 06 Sep 2022 15:40:05 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
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.