Xnest: disable XKB, reshuffle code

Disable XKB, as we can't yet use it; move Composite disabling to
ddxInitGlobals, along with XKB.
This commit is contained in:
Daniel Stone 2006-10-23 02:51:52 +03:00 committed by Daniel Stone
parent cd3b16a57e
commit 08928afb05

View File

@ -53,18 +53,21 @@ Window xnestParentWindow = 0;
/* ddxInitGlobals - called by |InitGlobals| from os/util.c */
void ddxInitGlobals(void)
{
}
int
ddxProcessArgument (int argc, char *argv[], int i)
{
#ifdef COMPOSITE
/* XXX terrible hack */
extern Bool noCompositeExtension;
noCompositeExtension = TRUE;
#endif
#ifdef XKB
extern Bool noXkbExtension;
noXkbExtension = TRUE;
#endif
}
int
ddxProcessArgument (int argc, char *argv[], int i)
{
if (!strcmp(argv[i], "-display")) {
if (++i < argc) {
xnestDisplayName = argv[i];