HAVE_XTEST in keyboard kcm module

Lubos Lunak l.lunak at suse.cz
Mon May 24 10:36:15 BST 2010


On Sunday 23 of May 2010, Andriy Rysin wrote:
> It looks like we have some code within HAVE_XTEST (as an anternative to
> HAVE_XKB) in keyboard kcm module (keyboard_hardware.cpp) but the whole
> module won't be even compiled if XKB not found (kcontrol/CMakeLists.txt -
> and it was like this since 4.0).
>
> The comments around that code have Lubos and Oswald mentioned so this
> question might be more to them than anybody else: do we have a reason to
> have XTEST code (and then we need some redesign as keyboard module now
> includes both hardware and layouts) or we can just rely on XKB?

 The XTest code had been written before the Xkb code, and it was left there as 
a fallback in case a system would have only XTest and not Xkb. According to 
http://en.wikipedia.org/wiki/X_Window_System there is a chance such a system 
exists, but it shouldn't be a strong reason in case there is a problem with 
keeping the code.

-- 
 Lubos Lunak
 openSUSE Boosters team, KDE developer
 l.lunak at suse.cz , l.lunak at kde.org




More information about the kde-core-devel mailing list