forked from AuroraMiddleware/gtk
scrolledwindow: Extend trackpoint heuristic to ALPS trackpoints
These have a different characteristic device name, look for it too in order to enable trackpoint features.
This commit is contained in:
parent
86720b014e
commit
36baf9207e
@ -1104,7 +1104,8 @@ captured_event_cb (GtkWidget *widget,
|
||||
indicator_set_over (&priv->hindicator, FALSE);
|
||||
indicator_set_over (&priv->vindicator, FALSE);
|
||||
}
|
||||
else if (strstr (gdk_device_get_name (source_device), "TrackPoint"))
|
||||
else if (strstr (gdk_device_get_name (source_device), "TrackPoint") ||
|
||||
strstr (gdk_device_get_name (source_device), "DualPoint Stick"))
|
||||
{
|
||||
indicator_set_over (&priv->hindicator, TRUE);
|
||||
indicator_set_over (&priv->vindicator, TRUE);
|
||||
|
Loading…
Reference in New Issue
Block a user