]>
Commit | Line | Data |
---|---|---|
de0ddf3e SS |
1 | From b58a1d66816c19eda079a1bd7cecd1ad03644e69 Mon Sep 17 00:00:00 2001 |
2 | From: "Jasper St. Pierre" <jstpierre@mecheye.net> | |
3 | Date: Wed, 23 Jan 2013 17:09:59 -0500 | |
4 | Subject: [PATCH] x11: Always request XI2.2 | |
5 | ||
6 | The X server should fill in the minor version that it supports in the | |
7 | case where it only supports the older version. We should not get a | |
8 | BadRequest or fail the version check if we pass something higher. | |
9 | ||
10 | https://bugzilla.gnome.org/show_bug.cgi?id=692466 | |
11 | --- | |
12 | clutter/x11/clutter-backend-x11.c | 5 ----- | |
13 | 1 file changed, 5 deletions(-) | |
14 | ||
15 | diff --git a/clutter/x11/clutter-backend-x11.c b/clutter/x11/clutter-backend-x11.c | |
16 | index 2d8f4ba..26f9581 100644 | |
17 | --- a/clutter/x11/clutter-backend-x11.c | |
18 | +++ b/clutter/x11/clutter-backend-x11.c | |
19 | @@ -239,12 +239,7 @@ clutter_backend_x11_create_device_manager (ClutterBackendX11 *backend_x11) | |
20 | { | |
21 | #ifdef HAVE_XINPUT_2 | |
22 | int major = 2; | |
23 | - | |
24 | -#ifdef HAVE_XINPUT_2_2 | |
25 | int minor = 2; | |
26 | -#else | |
27 | - int minor = 0; | |
28 | -#endif /* HAVE_XINPUT_2_2 */ | |
29 | ||
30 | if (XIQueryVersion (backend_x11->xdpy, &major, &minor) != BadRequest) | |
31 | { | |
32 | -- | |
33 | 1.8.1.2 | |
34 | ||
35 | From 3e1450ba17fce90a8034cc525c67a87ff3cdd53d Mon Sep 17 00:00:00 2001 | |
36 | From: "Jasper St. Pierre" <jstpierre@mecheye.net> | |
37 | Date: Wed, 23 Jan 2013 14:49:26 -0500 | |
38 | Subject: [PATCH] clutter-backend: Request XI2.3 | |
39 | ||
40 | Since XIQueryVersion, the bad API that it is, chooses the first client | |
41 | version that it gets, we need to ensure that we pass XIQueryVersion the | |
42 | new XI2.3 version, knowing fully well that Clutter won't be confused | |
43 | by the new features. | |
44 | ||
45 | https://bugzilla.gnome.org/show_bug.cgi?id=692466 | |
46 | --- | |
47 | clutter/x11/clutter-backend-x11.c | 2 +- | |
48 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
49 | ||
50 | diff --git a/clutter/x11/clutter-backend-x11.c b/clutter/x11/clutter-backend-x11.c | |
51 | index 26f9581..1015f4c 100644 | |
52 | --- a/clutter/x11/clutter-backend-x11.c | |
53 | +++ b/clutter/x11/clutter-backend-x11.c | |
54 | @@ -239,7 +239,7 @@ clutter_backend_x11_create_device_manager (ClutterBackendX11 *backend_x11) | |
55 | { | |
56 | #ifdef HAVE_XINPUT_2 | |
57 | int major = 2; | |
58 | - int minor = 2; | |
59 | + int minor = 3; | |
60 | ||
61 | if (XIQueryVersion (backend_x11->xdpy, &major, &minor) != BadRequest) | |
62 | { | |
63 | -- | |
64 | 1.8.1.2 | |
65 |