scrolled window: Remove trackpoint heuristics

This is now done in GDK, so we can just use the input type here.

https://bugzilla.gnome.org/show_bug.cgi?id=767100
This commit is contained in:
Matthias Clasen 2016-06-01 07:01:37 -04:00
parent 660c8b8f9b
commit 743d18c0f8

View File

@ -1365,8 +1365,7 @@ captured_event_cb (GtkWidget *widget,
}
else if (input_source == GDK_SOURCE_PEN ||
input_source == GDK_SOURCE_ERASER ||
(device_name != NULL && strstr (device_name, "TrackPoint")) ||
(device_name != NULL && strstr (device_name, "DualPoint Stick")))
input_source == GDK_SOURCE_TRACKPOINT)
{
indicator_set_over (&priv->hindicator, TRUE);
indicator_set_over (&priv->vindicator, TRUE);