]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blame - clutter/patches/clutter-1.13.4-xi23.patch
pango: Do not link against X11 libs anymore.
[people/stevee/ipfire-3.x.git] / clutter / patches / clutter-1.13.4-xi23.patch
CommitLineData
de0ddf3e
SS
1From b58a1d66816c19eda079a1bd7cecd1ad03644e69 Mon Sep 17 00:00:00 2001
2From: "Jasper St. Pierre" <jstpierre@mecheye.net>
3Date: Wed, 23 Jan 2013 17:09:59 -0500
4Subject: [PATCH] x11: Always request XI2.2
5
6The X server should fill in the minor version that it supports in the
7case where it only supports the older version. We should not get a
8BadRequest or fail the version check if we pass something higher.
9
10https://bugzilla.gnome.org/show_bug.cgi?id=692466
11---
12 clutter/x11/clutter-backend-x11.c | 5 -----
13 1 file changed, 5 deletions(-)
14
15diff --git a/clutter/x11/clutter-backend-x11.c b/clutter/x11/clutter-backend-x11.c
16index 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--
331.8.1.2
34
35From 3e1450ba17fce90a8034cc525c67a87ff3cdd53d Mon Sep 17 00:00:00 2001
36From: "Jasper St. Pierre" <jstpierre@mecheye.net>
37Date: Wed, 23 Jan 2013 14:49:26 -0500
38Subject: [PATCH] clutter-backend: Request XI2.3
39
40Since XIQueryVersion, the bad API that it is, chooses the first client
41version that it gets, we need to ensure that we pass XIQueryVersion the
42new XI2.3 version, knowing fully well that Clutter won't be confused
43by the new features.
44
45https://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
50diff --git a/clutter/x11/clutter-backend-x11.c b/clutter/x11/clutter-backend-x11.c
51index 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--
641.8.1.2
65