conf_interaction: mouse tap to click only under wayland

tap to click mouse option is taken into account only under wayland
This commit is contained in:
Michaël Bouchaud (yoz) 2019-02-04 18:24:53 +01:00
parent 11b0a6e670
commit eecd1ac187
1 changed files with 7 additions and 2 deletions

View File

@ -234,8 +234,13 @@ _basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dia
&(cfdata->threshold), NULL, 100);
e_widget_framelist_object_append(of, ob);
oc = e_widget_check_add(evas, _("Tap to click"), &(cfdata->tap_to_click));
e_widget_framelist_object_append(of, oc);
#ifdef HAVE_WAYLAND
if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
{
oc = e_widget_check_add(evas, _("Tap to click"), &(cfdata->tap_to_click));
e_widget_framelist_object_append(of, oc);
}
#endif
e_widget_list_object_append(ol, of, 1, 0, 0.5);
e_widget_toolbook_page_append(otb, NULL, _("Mouse"), ol,