From 87071b604c4b7c3c79ab784e2c09ff691e2bc5ad Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Sat, 26 Apr 2008 19:37:57 +0930 Subject: Revert "Xi: disable XI for clients < XI 2.0" Turns out some programs don't like this change. gnome-settings-daemon crashes hard if you tell it that XI doesn't exist. So, tell them we have XI, but leave the other change (the one that pretends no devices are available). This reverts commit 8973a3f7983240407dd6da59b3643f40e6a3d83a. --- Xi/getvers.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Xi') diff --git a/Xi/getvers.c b/Xi/getvers.c index daf9a028a..43a1a4d26 100644 --- a/Xi/getvers.c +++ b/Xi/getvers.c @@ -122,10 +122,7 @@ ProcXGetExtensionVersion(ClientPtr client) rep.RepType = X_GetExtensionVersion; rep.length = 0; rep.sequenceNumber = client->sequence; - if (!pXIClient->major_version < XI_2_Major) /* sorry, no XI 1.x anymore. */ - rep.present = FALSE; - else - rep.present = TRUE; + rep.present = TRUE; rep.major_version = AllExtensionVersions[IReqCode - 128].major_version; rep.minor_version = AllExtensionVersions[IReqCode - 128].minor_version; -- cgit v1.2.3