aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichaël Bouchaud (yoz) <yoz@efl.so>2019-02-04 18:24:53 +0100
committerMichaël Bouchaud (yoz) <yoz@efl.so>2019-02-04 18:25:18 +0100
commiteecd1ac18747833ea7289a5910b1155bde22c226 (patch)
tree1a389828ea12866ca240a2e0817a3d3f3f2a715a
parenttheme wallapaper other than edj fix (diff)
downloadenlightenment-eecd1ac18747833ea7289a5910b1155bde22c226.tar.gz
conf_interaction: mouse tap to click only under wayland
tap to click mouse option is taken into account only under wayland
-rw-r--r--src/modules/conf_interaction/e_int_config_mouse.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/modules/conf_interaction/e_int_config_mouse.c b/src/modules/conf_interaction/e_int_config_mouse.c
index ef28771b3..e388a8c14 100644
--- a/src/modules/conf_interaction/e_int_config_mouse.c
+++ b/src/modules/conf_interaction/e_int_config_mouse.c
@@ -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,