summaryrefslogtreecommitdiff
path: root/src/xterm.c
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2006-08-11 07:30:56 +0000
committerJan Djärv <jan.h.d@swipnet.se>2006-08-11 07:30:56 +0000
commit93acf8f34d3cdbe9e23f0207ff6285c759c67bef (patch)
tree5d9f591d52f5002725b7097ca2df5e4112f60529 /src/xterm.c
parent9f562c51d616d1e534771600368e16705269c625 (diff)
downloademacs-93acf8f34d3cdbe9e23f0207ff6285c759c67bef.tar.gz
* xterm.c (x_term_init): Initialize dpyinfo->x_dnd_atoms*
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 4203411e888..6fb9ee28f42 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -10584,6 +10584,11 @@ x_term_init (display_name, xrm_option, resource_name)
dpyinfo->cut_buffers_initialized = 0;
+ dpyinfo->x_dnd_atoms_size = 8;
+ dpyinfo->x_dnd_atoms_length = 0;
+ dpyinfo->x_dnd_atoms = xmalloc (sizeof (*dpyinfo->x_dnd_atoms)
+ * dpyinfo->x_dnd_atoms_size);
+
connection = ConnectionNumber (dpyinfo->display);
dpyinfo->connection = connection;