Mercurial > emacs
changeset 72354:90ea1ead0e3f
* xterm.c (x_term_init): Initialize dpyinfo->x_dnd_atoms*
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Fri, 11 Aug 2006 07:30:56 +0000 |
parents | 5f6d1ddc1872 |
children | 9f8678beb7e3 |
files | src/xterm.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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;