diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-05-14 17:44:37 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-05-14 17:44:42 -0700 |
commit | 82331693c414f5661a3b67c9f618b497a686f743 (patch) | |
tree | 42806e55598453c0baf9bd5e75fd2aba6fe92f0d /src | |
parent | 525e7c3eb2eda75bb3f829896c41c46cb5a47019 (diff) |
Raise minimum supported Xserver version to 1.18 (ABI_XINPUT_VERSION 22.1)
Already effectively required by use of XNFcallocarray() introduced in
xorg/xserver@b96dc999 - xserver-1.18.0, released in Nov. 2015.
Allows dropping remnants of code for XAA and pre-pciaccess X servers
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nested/-/merge_requests/6>
Diffstat (limited to 'src')
-rw-r--r-- | src/nested_input.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/nested_input.c b/src/nested_input.c index b674c35..78323aa 100644 --- a/src/nested_input.c +++ b/src/nested_input.c @@ -300,38 +300,6 @@ NestedInputReadInput(InputInfoPtr pInfo) { TimerSet(NULL, 0, 1, nested_input_ready, pNestedInput->clientData); } -#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 14 -static InputOption* -input_option_new(InputOption* list, char *key, char *value) -{ - InputOption *tmp; - - tmp = calloc(1, sizeof(*tmp)); - tmp->key = key; - tmp->value = value; - tmp->next = list; - - return tmp; -} - -static void -input_option_free_list(InputOption **list) -{ - InputOption *iopts = *list; - - while(iopts) - { - InputOption *tmp = iopts->next; - free(iopts->key); - free(iopts->value); - free(iopts); - iopts = tmp; - } - - *list = NULL; -} -#endif - void NestedInputLoadDriver(NestedClientPrivatePtr clientData) { |