From 9e3b8b752836643d9f00bc27802d48dd269e51f2 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Wed, 4 May 2016 14:52:15 -0400 Subject: [PATCH] disable option for mouse to use Application theme if we are running in Wayland Small patch to disable selecting Application themed mouse pointers when running in wayland as this option is currently broken when running in wayland (gives no mouse cursor at all) e_pointer calls _e_pointer_x11_setup (from _e_pointer_type_set) which only sets the cursor via ecore_x_cursor_shape_get calls... essentially you end up with no mouse cursor because e_pointer is missing codepaths to lookup system mouse cursor images when running in wayland. ref T3585 Signed-off-by: Chris Michael --- src/modules/conf_interaction/e_int_config_mouse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/conf_interaction/e_int_config_mouse.c b/src/modules/conf_interaction/e_int_config_mouse.c index 18de2fd82..fc22e0760 100644 --- a/src/modules/conf_interaction/e_int_config_mouse.c +++ b/src/modules/conf_interaction/e_int_config_mouse.c @@ -163,6 +163,7 @@ _basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dia e_widget_on_change_hook_set(ob, _use_e_cursor_cb_change, cfdata); e_widget_framelist_object_append(of, ob); e_widget_check_widget_disable_on_unchecked_add(oc, ob); + if (!e_comp_util_has_x()) e_widget_disabled_set(ob, 1); ob = e_widget_radio_add(evas, _("Enlightenment"), 1, rg); e_widget_on_change_hook_set(ob, _use_e_cursor_cb_change, cfdata);