Refactor xkbpath so that it implicitly initializes
authorDan Nicholson <dbn.lists@gmail.com>
Sat, 4 Apr 2009 16:29:43 +0000 (09:29 -0700)
committerDan Nicholson <dbn.lists@gmail.com>
Sat, 4 Apr 2009 16:29:43 +0000 (09:29 -0700)
commit5d95a43ad06a43c07f91735ea46d43a944b735dc
tree3cb96b180fcaadb4b15bdb16be8740074b32397f
parent5c91062334dc9f2d902ea1d368d5374c9186a0ef
Refactor xkbpath so that it implicitly initializes

Instead of requiring the user to call XkbInitIncludePath() and
XkbAddDefaultDirectoriesToPath(), all the path entry points now implicitly
initialize the path. When initializing, the default directories are added
so it's useful.

This provides normal operation without exposing the xkbpath API. That
might happen later to allow apps to edit the XKB search path.
src/xkbcomp/xkbpath.c