Markus Kuhn wrote:
> The requested dump is now on
> 
>   http://www.cl.cam.ac.uk/~mgk25/ucs/xev-adiaeresis-utf8.txt
> 
> including a full description of what I did to get the log.

  I have found the bug.
  Honestly speaking it's my fault. The changes cause this bug was made more
than two years ago but the bug appears only now.
  The attached patch solves the problem.

P.S. I already sent the patch to the patch mail list (seq: 5513).
-- 
 Ivan U. Pascal         |   e-mail: [EMAIL PROTECTED]
   Administrator of     |   Tomsk State University
     University Network |       Tomsk, Russia
--- xc/lib/X11/XKB.c.orig       Fri Nov 29 11:13:59 2002
+++ xc/lib/X11/XKB.c            Fri Nov 29 11:16:16 2002
@@ -417,9 +417,10 @@
     unsigned   values;
 #endif
 {
-    if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+       if (!dpy->xkb_info)
+          XkbUseExtension(dpy,NULL,NULL);
+       if (!dpy->xkb_info)
+          return 0;
     affect&= XkbLC_AllControls;
     dpy->xkb_info->xlib_ctrls&= ~affect;
     dpy->xkb_info->xlib_ctrls|= (affect&values);
@@ -434,9 +435,10 @@
     Display *  dpy;
 #endif
 {
-    if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return 0;
+       if (!dpy->xkb_info)
+          XkbUseExtension(dpy,NULL,NULL);
+       if (!dpy->xkb_info)
+          return 0;
     return dpy->xkb_info->xlib_ctrls;
 }
 

Reply via email to