From 80abcc56006802f2dab61e518e0574c75baa2636 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 6 Oct 2017 11:37:50 -0400 Subject: [PATCH] do not apply enlightenment cursor theme for xwayland clients wayland always uses the client's cursor, so maintain that consistency --- src/bin/e_pointer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_pointer.c b/src/bin/e_pointer.c index 6953de28a..bd368e65b 100644 --- a/src/bin/e_pointer.c +++ b/src/bin/e_pointer.c @@ -502,7 +502,7 @@ e_pointer_window_new(Ecore_Window win, Eina_Bool filled) /* set default pointer properties */ ptr->w = ptr->h = e_config->cursor_size; - ptr->e_cursor = e_config->use_e_cursor; + ptr->e_cursor = e_config->use_e_cursor && e_comp->comp_type == E_PIXMAP_TYPE_X; ptr->win = win; ptr->color = EINA_FALSE; if (e_comp->pointer) @@ -532,7 +532,7 @@ e_pointer_canvas_new(Ecore_Evas *ee, Eina_Bool filled) ptr->color = EINA_TRUE; ptr->canvas = EINA_TRUE; ptr->w = ptr->h = e_config->cursor_size; - ptr->e_cursor = e_config->use_e_cursor; + ptr->e_cursor = e_config->use_e_cursor || e_comp->comp_type != E_PIXMAP_TYPE_X; ptr->ee = ee; ptr->evas = ecore_evas_get(ee);