mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 14:10:06 +01:00
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 8973a3f798.
This commit is contained in:
parent
7447a30fb2
commit
87071b604c
1 changed files with 1 additions and 4 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue