forked from AuroraMiddleware/gtk
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
This commit is contained in:
parent
e340049eb8
commit
002ac992d1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user