[Xcb] Problems receiving mapping_notify

Barton C Massey bart at cs.pdx.edu
Wed Aug 12 14:43:39 PDT 2009

Heh.  Thanks huge for tracking this down!

..and now you know some of why we did XCB.  IMHO the Xlib
behavior is completely magic.  We need a decent XKB library
for XCB, but even then I doubt we'll ever transform events
magically for you.  Arguably, the XKB2 server extension
should generate MappingNotify events in addition to
XkbMapNotify events...


In message <1249646375-sup-6478 at midna> you wrote:
> Hi again, sorry for double-posting,
> the solution of the problem seems to be that Xlib transparently generates
> MappingNotify events upon receival of XkbMapNotify events, see
> lib/X11/XKBUse.c:318. As XCB does not support XKB yet, this seems to be
> the problem.
> You can use the attached test program which uses XKB to confirm that xmodmap
> generated events will arrive here, too.
> So, any plans about doing the same as Xlib in this case or how do we want
> to handle this?
> Best regards,
> Michael

More information about the Xcb mailing list