[gtk+] gdkdevicemanager-x11: Request XI2.3



commit 002ac992d1a7383f803fd3d79904183afb03b73b
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Jan 23 14:49:35 2013 -0500

    gdkdevicemanager-x11: Request XI2.3
    
    Since XIQueryVersion, the bad API that it is, enforces the version from
    the first client that requests it, for clients to be able to use the new
    features in XI2.3, we need to ensure that we pass XIQueryVersion 2.3 as
    the version that we support. We know that GTK+ won't be confused by the
    new features.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=692467

 gdk/x11/gdkdevicemanager-x11.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkdevicemanager-x11.c b/gdk/x11/gdkdevicemanager-x11.c
index d06456c..fc995f9 100644
--- a/gdk/x11/gdkdevicemanager-x11.c
+++ b/gdk/x11/gdkdevicemanager-x11.c
@@ -48,7 +48,7 @@ _gdk_x11_device_manager_new (GdkDisplay *display)
           int major, minor;
 
           major = 2;
-	  minor = 2;
+	  minor = 3;
 
           if (!_gdk_disable_multidevice &&
               XIQueryVersion (xdisplay, &major, &minor) != BadRequest)



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