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

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

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


From: Andrii Kolomoiets
Subject: bug#28872: [PATCH v2] Fix NS frame resizing issues (bug#40200, bug#28872)
Date: Fri, 27 Mar 2020 15:22:08 +0200

On 26 Mar 2020, at 23:21, Alan Third <alan@idiocy.org> 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))))





reply via email to

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