[PATCH xkbcomp] When a file contains several maps, look for a default map

Ran Benita ran234 at gmail.com
Thu Jan 7 05:50:13 PST 2016


On Wed, Jan 06, 2016 at 09:32:52PM +0100, Benno Schulenberg wrote:
> From: Ran Benita <ran234 at gmail.com>
> 
> Rather than always taking the first one in the file. This is exactly the
> intended use of the 'default' flag.
> 
> Note that pretty much the same code is duplicated in xkbcomp.c when
> compiling a single file from the command line, but there it is
> implemented correctly (look for XkbLC_Default).
> 
> https://bugs.freedesktop.org/show_bug.cgi?id=69950

Thanks for resending this.

I can add that libxkbcommon has been doing this since at least 2012
without any reported issues.

Ran


More information about the xorg-devel mailing list