Commit 743d18c0 authored by Matthias Clasen's avatar Matthias Clasen

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
parent 660c8b8f
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment