From 002ac992d1a7383f803fd3d79904183afb03b73b Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 23 Jan 2013 14:49:35 -0500 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/x11/gdkdevicemanager-x11.c b/gdk/x11/gdkdevicemanager-x11.c index d06456cb8..fc995f998 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) -- 2.43.2