]> git.eshelyaron.com Git - emacs.git/commit
Fix autorelease pool "straddling" during DND on NS
authorPo Lu <luangruo@yahoo.com>
Tue, 31 May 2022 08:40:57 +0000 (16:40 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 31 May 2022 08:40:57 +0000 (16:40 +0800)
commit7263b10efbfd2f0478e521173e9d657e080e5cff
tree8047ecb38a6be0e64d8ccd3301dbb5bcd0abdec6
parentd94890404e91d5ba50afaa4bc27b9c655dbed5f1
Fix autorelease pool "straddling" during DND on NS

* src/nsterm.m (ns_mouse_position): Implement `drag-source'
on NS.
([EmacsView draggingUpdated:]): Add autorelease pool around
callbacks.
([EmacsWindow beginDrag:forPasteboard:]): Block input around
dragImage.
src/nsterm.m