[Xcb] [PATCH 08/19] Xephyr: replace XKeycodeToKeysym with xcb-keysyms
Trevor Woerner
twoerner at gmail.com
Wed Oct 20 10:49:28 PDT 2010
On Wed, Oct 20, 2010 at 1:11 PM, Julien Cristau <jcristau at debian.org> wrote:
> + static xcb_key_symbols_t *keysyms;
> +
> + if (!keysyms)
> + keysyms = xcb_key_symbols_alloc(HostX.conn);
I realize static variables are assigned from zero'ed areas, but isn't
it nicer to explicitly say "static xcb_key_symbols_t *keysyms =
NULL;"? Just a nit, I guess.
More information about the Xcb
mailing list