Subject: bug#40200: [PATCH v2] Fix NS frame resizing issues (bug#40200, bug#28872)

From: Andrii Kolomoiets <[email-masked]>
Date: Fri, 27 Mar 2020 15:22:08 +0200

On 26 Mar 2020, at 23:21, Alan Third <[email-masked]> wrote:
> Hopefully this works better.

Found another changed behavior:
1. emacs -Q
2. (setq test/frame (make-frame `((parent-frame . ,(selected-frame)))))
3. (modify-frame-parameters test/frame '((height . 1) (top . (- 40))))

Old behavior: child frame is at bottom of the parent frame.

New behavior: child frame is at top of the parent frame.
Child frame moves to bottom after code from step 3 applied one more time.

Step 3 can be replaced with these two steps to achieve old behavior:
(modify-frame-parameters test/frame '((height . 1)))
(modify-frame-parameters test/frame '((top . (- 40))))