gdk/x11: Drop GDK_CORE_DEVICE_EVENTS environment variable

Support for core events will be discontinued, so this doesn't make sense
anymore.
This commit is contained in:
Carlos Garnacho 2019-05-15 00:08:37 +02:00
parent c4cf72ecb8
commit c4446d36de
2 changed files with 20 additions and 32 deletions

View File

@ -65,15 +65,6 @@ The X11 GDK backend can be influenced with some additional environment variables
</para>
</formalpara>
<formalpara>
<title><envar>GDK_CORE_DEVICE_EVENTS</envar></title>
<para>
If set, GDK makes does not use the XInput extension, and only reacts
to core X input events.
</para>
</formalpara>
<formalpara>
<title><envar>GDK_SCALE</envar></title>

View File

@ -32,8 +32,6 @@
GdkX11DeviceManagerCore *
_gdk_x11_device_manager_new (GdkDisplay *display)
{
if (!g_getenv ("GDK_CORE_DEVICE_EVENTS"))
{
int opcode, firstevent, firsterror;
Display *xdisplay;
@ -64,7 +62,6 @@ _gdk_x11_device_manager_new (GdkDisplay *display)
return GDK_X11_DEVICE_MANAGER_CORE (device_manager_xi2);
}
}
}
GDK_DISPLAY_NOTE (display, INPUT, g_message ("Creating core device manager"));