# HG changeset patch # User Jan Dj¸«£rv # Date 1155281456 0 # Node ID 90ea1ead0e3f018bc979d8351b4fcf93dc4739f1 # Parent 5f6d1ddc187208eabef01d673c65b21e4e9f6554 * xterm.c (x_term_init): Initialize dpyinfo->x_dnd_atoms* diff -r 5f6d1ddc1872 -r 90ea1ead0e3f src/xterm.c --- a/src/xterm.c Fri Aug 11 07:30:36 2006 +0000 +++ b/src/xterm.c Fri Aug 11 07:30:56 2006 +0000 @@ -10584,6 +10584,11 @@ 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;