diff options
author | Po Lu <luangruo@yahoo.com> | 2022-04-05 20:03:48 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-04-05 20:19:09 +0800 |
commit | 7d504c9acc0c8d75d11c3a2b5e016f39e6156bf8 (patch) | |
tree | 3207ff8a7d216c4908efcb360e6bc5d9a2b03e0e /lisp/net | |
parent | 91ca41e292184bf0c21b55a8e51f3eb1a8c89bb7 (diff) | |
download | emacs-7d504c9acc0c8d75d11c3a2b5e016f39e6156bf8.tar.gz emacs-7d504c9acc0c8d75d11c3a2b5e016f39e6156bf8.tar.bz2 emacs-7d504c9acc0c8d75d11c3a2b5e016f39e6156bf8.zip |
Mark some data during drag-and-drop
It doesn't make sense to prevent the return frame or movement
frame from being deleted, but we should at least protect them
from garbage collection.
* src/alloc.c (garbage_collect): Call mark_xterm.
* src/xterm.c (x_dnd_begin_drag_and_drop)
(x_dnd_cleanup_drag_and_drop): Clear movement and return frames
upon DND completion.
(mark_xterm): Mark those frames.
* src/xterm.h: Update prototypes.
Diffstat (limited to 'lisp/net')
0 files changed, 0 insertions, 0 deletions