projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bda8f5d
)
* src/xterm.c (x_dnd_send_unsupported_drop): Also handle TEXT target.
author
Po Lu
<luangruo@yahoo.com>
Wed, 6 Apr 2022 01:09:13 +0000
(09:09 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Wed, 6 Apr 2022 01:09:13 +0000
(09:09 +0800)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 926fb9b0482b95863c7b7144fbab818dbae5842e..102447ad7e3f19e22f395a49f13fc94f96397bb1 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-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;