]> git.eshelyaron.com Git - emacs.git/commit
Fix child frame placement issues (bug#29953)
authorAlan Third <alan@idiocy.org>
Wed, 3 Jan 2018 13:45:03 +0000 (13:45 +0000)
committerAlan Third <alan@idiocy.org>
Sat, 6 Jan 2018 23:10:21 +0000 (23:10 +0000)
commitf92264fc2acf3af3f98ebefa5ef0e1d4e9be4b80
treedb53321c46261c705b9b914d42e38c9e74274ab9
parenta5f718c4c58c821fb121196a499df01391bb7ba4
Fix child frame placement issues (bug#29953)

* src/nsterm.h (NS_PARENT_WINDOW_LEFT_POS):
(NS_PARENT_WINDOW_TOP_POS): Get the parent frame through the frame
struct as invisible child windows are detached from their parents in
NS.
* src/nsterm.m (x_set_offset): Offscreen frames have `nil' screen
value, so handle that gracefully.  Child frames with negative left and
top should be positioned relative to the bottom right of the parent
frame.
src/nsterm.h
src/nsterm.m