diff options
author | Chris Michael <cpmichael@osg.samsung.com> | 2016-05-04 14:52:15 -0400 |
---|---|---|
committer | Chris Michael <cpmichael@osg.samsung.com> | 2016-05-04 14:55:26 -0400 |
commit | 9e3b8b752836643d9f00bc27802d48dd269e51f2 (patch) | |
tree | 4e6c6e38b435f25b8252f7f7a820354f182690da | |
parent | 768252740b701ea2b508ac52cf98a60d7a194fbc (diff) | |
download | enlightenment-9e3b8b752836643d9f00bc27802d48dd269e51f2.tar.gz |
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 <cpmichael@osg.samsung.com>
-rw-r--r-- | src/modules/conf_interaction/e_int_config_mouse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/conf_interaction/e_int_config_mouse.c b/src/modules/conf_interaction/e_int_config_mouse.c index 18de2fd825..fc22e0760b 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); |