summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/range.el
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-09-02 17:19:29 +0800
committerPo Lu <luangruo@yahoo.com>2022-09-02 17:19:51 +0800
commit2ff57638365411904e76979ef628534098ce3549 (patch)
tree4bc7295290f1dbac1f775da5856723abfa08e064 /lisp/emacs-lisp/range.el
parent0ec831b91cde2a0e1b65f99c1190975c6e6959f9 (diff)
downloademacs-2ff57638365411904e76979ef628534098ce3549.tar.gz
emacs-2ff57638365411904e76979ef628534098ce3549.tar.bz2
emacs-2ff57638365411904e76979ef628534098ce3549.zip
Prevent crashes when embedding Emacs in a nonexistent parent
* src/xfns.c (x_window, Fx_create_frame): Handle X errors while trying to reparent the frame onto an explicitly specified parent. * src/xterm.c (handle_one_xevent): Handle unparenting embedded windows correctly. This only works if the embedder is aware of the fixes extension and has put the window into the right save set. (x_embed_frame): New function. * src/xterm.h (FRAME_X_EMBEDDED_P): Fix coding style.
Diffstat (limited to 'lisp/emacs-lisp/range.el')
0 files changed, 0 insertions, 0 deletions