[comp.windows.x] V11 fix #32, lib/X/XOpenDis.c, XRebindKeysym problem

RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) (10/27/87)

    Date: Fri, 16 Oct 87 08:27:06 est
    From: Rich Goldschmidt <rlgvax!golds@uunet.UU.NET>

    We are running XV11.R1 on Sun workstations.  I have successfully rebound
    the unshifted function keys (L1-L10 and R1-R15) to send a different
    escape sequence from xterm.  However, I have been unable to rebind
    the shifted function keys.

    FIX:
	in lib/X/XOpenDis.c:

*** /tmp/,RCSt1005630	Mon Oct 26 17:03:49 1987
--- XOpenDis.c	Sat Oct 24 21:11:53 1987
***************
*** 1,6 ****
  #include "copyright.h"
  #ifndef lint
! static char *rcsid_xopendisplay_c = "$Header: XOpenDis.c,v 11.50 87/09/01 15:00:36 toddb Exp $";
  #endif
  /* Copyright    Massachusetts Institute of Technology    1985, 1986	*/
  
--- 1,6 ----
  #include "copyright.h"
  #ifndef lint
! static char *rcsid_xopendisplay_c = "$Header: XOpenDis.c,v 11.51 87/10/24 21:10:14 newman Exp $";
  #endif
  /* Copyright    Massachusetts Institute of Technology    1985, 1986	*/
  
***************
*** 164,170 ****
  	dpy->min_keycode	= u.setup->minKeyCode;
  	dpy->max_keycode	= u.setup->maxKeyCode;
  	dpy->keysyms		= (KeySym *) NULL;
! 	dpy->modifiermap	= XNewModifiermap(0);
  	dpy->keysyms_per_keycode = 0;
  	dpy->current		= None;
  	dpy->xdefaults		= (char *)NULL;
--- 164,170 ----
  	dpy->min_keycode	= u.setup->minKeyCode;
  	dpy->max_keycode	= u.setup->maxKeyCode;
  	dpy->keysyms		= (KeySym *) NULL;
! 	dpy->modifiermap	= NULL;
  	dpy->keysyms_per_keycode = 0;
  	dpy->current		= None;
  	dpy->xdefaults		= (char *)NULL;