tooltip: Only look at direct touches for now

This commit is contained in:
Matthias Clasen
2012-02-24 14:36:52 -05:00
parent 97f65c9694
commit bd26f9ff77

View File

@@ -1560,8 +1560,7 @@ tooltips_enabled (GdkEvent *event)
"gtk-enable-tooltips", &enabled,
NULL);
if (enabled &&
source != GDK_SOURCE_TOUCH)
if (enabled && source != GDK_SOURCE_DIRECT_TOUCH)
return TRUE;
return FALSE;