[Xcb] [Bug 18939] Useless xcb_lookup_t in xcb_keysyms.h

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 8 14:31:06 PST 2008


http://bugs.freedesktop.org/show_bug.cgi?id=18939





--- Comment #5 from Sean Bartell <wingedtachikoma at gmail.com>  2008-12-08 14:31:06 PST ---
The problem is that it isn't actually a parameter for anything in xcb-keysym.
The col parameters are supposed to be ints, they correspond to the last
parameters of XKeycodeToKeysym and XLookupKeysym and they indicate which column
of the keysym table to use.

The xcb_lookup_t/xcb_key_lookup_t is just some dead, useless code originally
added by someone who couldn't figure out what the col parameter was for (I
don't blame them, I couldn't figure it out for a while either). They just
copied over some relevant-looking constants from Xlib in the hope that they
would be useful, but the constants were actually for something else
(XLookupString).

Sorry if I'm being completely confusing:).


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Xcb mailing list