]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/xterm.c (x_dnd_send_unsupported_drop): Also handle TEXT target.
authorPo Lu <luangruo@yahoo.com>
Wed, 6 Apr 2022 01:09:13 +0000 (09:09 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 6 Apr 2022 01:09:13 +0000 (09:09 +0800)
src/xterm.c

index 926fb9b0482b95863c7b7144fbab818dbae5842e..102447ad7e3f19e22f395a49f13fc94f96397bb1 100644 (file)
@@ -2787,6 +2787,7 @@ x_dnd_send_unsupported_drop (struct x_display_info *dpyinfo, Window target_windo
   for (i = 0; i < x_dnd_n_targets; ++i)
     {
       if (x_dnd_targets[i] == XA_STRING
+         || x_dnd_targets[i] == dpyinfo->Xatom_TEXT
          || x_dnd_targets[i] == dpyinfo->Xatom_COMPOUND_TEXT
          || x_dnd_targets[i] == dpyinfo->Xatom_UTF8_STRING)
        break;