[clutter/clutter-1.14] clutter-backend: Request XI2.3



commit 3e1450ba17fce90a8034cc525c67a87ff3cdd53d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Jan 23 14:49:26 2013 -0500

    clutter-backend: Request XI2.3
    
    Since XIQueryVersion, the bad API that it is, chooses the first client
    version that it gets, we need to ensure that we pass XIQueryVersion the
    new XI2.3 version, knowing fully well that Clutter won't be confused
    by the new features.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=692466

 clutter/x11/clutter-backend-x11.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/x11/clutter-backend-x11.c b/clutter/x11/clutter-backend-x11.c
index 26f9581..1015f4c 100644
--- a/clutter/x11/clutter-backend-x11.c
+++ b/clutter/x11/clutter-backend-x11.c
@@ -239,7 +239,7 @@ clutter_backend_x11_create_device_manager (ClutterBackendX11 *backend_x11)
             {
 #ifdef HAVE_XINPUT_2
               int major = 2;
-              int minor = 2;
+              int minor = 3;
 
               if (XIQueryVersion (backend_x11->xdpy, &major, &minor) != BadRequest)
                 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]