summaryrefslogtreecommitdiff
path: root/src/xterm.h
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-07-06 13:43:24 +0800
committerPo Lu <luangruo@yahoo.com>2022-07-06 13:43:38 +0800
commit18050712a4189dcc467f5345d2efcc77d43d1393 (patch)
treea96c2d1cef562570ce18c8cff42991188255e6a9 /src/xterm.h
parent27436451ecbf250db4d1704c586763cb40e6dfeb (diff)
downloademacs-18050712a4189dcc467f5345d2efcc77d43d1393.tar.gz
Speed up interning XDS atoms
* src/xselect.c (symbol_to_x_atom, x_atom_to_symbol) (syms_of_xselect): Handle new atoms. * src/xterm.c (x_atom_refs): * src/xterm.h (struct x_display_info): New atoms `XdndDirectSave0', `XdndActionDirectSave' and `text/plain'.
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xterm.h b/src/xterm.h
index b0f9200eeaf..6684d7839f3 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -638,6 +638,9 @@ struct x_display_info
Xatom_XdndPosition, Xatom_XdndStatus, Xatom_XdndLeave, Xatom_XdndDrop,
Xatom_XdndFinished;
+ /* XDS source and target. */
+ Atom Xatom_XdndDirectSave0, Xatom_XdndActionDirectSave, Xatom_text_plain;
+
#ifdef HAVE_XKB
/* Virtual modifiers */
Atom Xatom_Meta, Xatom_Super, Xatom_Hyper, Xatom_ShiftLock, Xatom_Alt;