diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-04-26 19:37:57 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-04-26 19:37:57 +0930 |
commit | 87071b604c4b7c3c79ab784e2c09ff691e2bc5ad (patch) | |
tree | f5762fcc8a28c0111097d6e1893f82d25f48c327 | |
parent | 7447a30fb27ed50a20a85b5a2de9afe7dea8cfa5 (diff) |
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.
-rw-r--r-- | Xi/getvers.c | 5 |
1 files changed, 1 insertions, 4 deletions
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; |