diff options
author | Alan Third <alan@idiocy.org> | 2017-07-15 21:57:18 +0100 |
---|---|---|
committer | Alan Third <alan@idiocy.org> | 2017-07-15 22:12:33 +0100 |
commit | 30444c695ae4d1184c4b6bc994c00b7b1af5ab4a (patch) | |
tree | 76551ac4f7eb064b79df824da06de089c55b74b1 /lisp | |
parent | 66683f46b877a8c2baa5fdedfb332618a1973db5 (diff) | |
download | emacs-30444c695ae4d1184c4b6bc994c00b7b1af5ab4a.tar.gz |
Fix some frame handling issues on NS
* lisp/frame.el (mouse-absolute-pixel-position): Use new NS function.
* src/nsfns.m (Sns_mouse_absolute_pixel_position): New function.
* src/nsterm.m (x_make_frame_visible): Re-establish parent-child
relationship if it's broken.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/frame.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/frame.el b/lisp/frame.el index 7d571791e23..1af12c70363 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -1494,6 +1494,8 @@ position (0, 0) of the selected frame's terminal." (x-mouse-absolute-pixel-position)) ((eq frame-type 'w32) (w32-mouse-absolute-pixel-position)) + ((eq frame-type 'ns) + (ns-mouse-absolute-pixel-position)) (t (cons 0 0))))) |