]> git.eshelyaron.com Git - emacs.git/commit
Fix error during DND from both Emacs and GTK at the same time
authorPo Lu <luangruo@yahoo.com>
Sat, 4 Jun 2022 12:00:40 +0000 (20:00 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 4 Jun 2022 12:01:07 +0000 (20:01 +0800)
commitfe6f1dfeb4ad4aaf517d1ac34435f3750f7f4569
tree2d22068c474741da184d0c7b7ca48aa470e1c55b
parentf76f529524113513397ab50fb7b8f7aaba197152
Fix error during DND from both Emacs and GTK at the same time

* src/xterm.c (x_dnd_get_target_window): Make mapping and
releasing the COW atomic.  This is to fix a rare bug when
MPX (multi-pointer X) is in use and the user tries to drag
from both GTK and Emacs at the same time using multiple seats.
src/xterm.c