diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2006-08-11 07:30:56 +0000 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2006-08-11 07:30:56 +0000 |
commit | 93acf8f34d3cdbe9e23f0207ff6285c759c67bef (patch) | |
tree | 5d9f591d52f5002725b7097ca2df5e4112f60529 /src/xterm.c | |
parent | 9f562c51d616d1e534771600368e16705269c625 (diff) | |
download | emacs-93acf8f34d3cdbe9e23f0207ff6285c759c67bef.tar.gz |
* xterm.c (x_term_init): Initialize dpyinfo->x_dnd_atoms*
Diffstat (limited to 'src/xterm.c')
-rw-r--r-- | src/xterm.c | 5 |
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; |