do not apply enlightenment cursor theme for xwayland clients

wayland always uses the client's cursor, so maintain that consistency
This commit is contained in:
Mike Blumenkrantz 2017-10-06 11:37:50 -04:00
parent b49e968d74
commit 80abcc5600
1 changed files with 2 additions and 2 deletions

View File

@ -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);