]> Pileus Git - ~andy/gtk/commitdiff
gdkdevicemanager-x11: Request XI2.3
authorJasper St. Pierre <jstpierre@mecheye.net>
Wed, 23 Jan 2013 19:49:35 +0000 (14:49 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 28 Jan 2013 17:53:39 +0000 (12:53 -0500)
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

index d06456cb82c45893155b83fb218c25fd26fb98bf..fc995f99892e2edbe0752ecfbf22bb4139ef95ac 100644 (file)
@@ -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)