Age | Commit message (Collapse) | Author |
|
An apparent copy/paste bug in the macro XkbSARedirectSetVMods, which breaks
using RedirectKey actions with virtual modifiers.
Signed-off-by: Andreas Wettstein <wettstae@gmail.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Many arrays have sz_* or size_* fields to list the number of entries
allocated, and num_* fields to record the number of entries used.
Others use num_* for the number allocated, or size based on max_key_code.
And a few are just plain trying to mess with your head. (I'm looking at
you XkbNamesRec & XkbKeyTypeRec.)
It sure would have been nice if all the XKB authors could have picked
a single convention and stuck to it, but we're 20 years too late for
that now, so just document it so I can stop reverse engineering from
the code every time I need to see if we got a bounds check right or not.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Better to silence the compiler warning than break ABI.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
|