Use xkbpath API for locating rules
authorDan Nicholson <dbn.lists@gmail.com>
Sat, 11 Apr 2009 17:35:44 +0000 (10:35 -0700)
committerDan Nicholson <dbn.lists@gmail.com>
Sat, 11 Apr 2009 17:39:55 +0000 (10:39 -0700)
commit53ead9b575608b087ca06879021411a4df19f35c
treedf56bc6f12073c98d5e897717289fb5e05f9d3f2
parentc728d91bde2a05f8cd6b42bf1bc2c830ca75689b
Use xkbpath API for locating rules

Instead of hardcoding the XKB base directory when searching for rules in
the xkbcomp code, we can extend the xkbpath API to cover rules and reuse
it. That will make it more convenient if it's ever exposed so people can
set their XKB search paths in a reasonable way.
src/xkbcomp/xkbcomp.c
src/xkbcomp/xkbpath.c