From 93acf8f34d3cdbe9e23f0207ff6285c759c67bef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Dj=C3=A4rv?= Date: Fri, 11 Aug 2006 07:30:56 +0000 Subject: * xterm.c (x_term_init): Initialize dpyinfo->x_dnd_atoms* --- src/xterm.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/xterm.c') 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; -- cgit v1.2.1