forked from enlightenment/enlightenment
check for non-wl compositor when forcing application cursors onto pointers
comp_type is not set during initial pointer creation on startup but will be set at
the point of xwl startup, so use a check which will succeed
fix T6157
ref 2b8c70fe98
This commit is contained in:
parent
03982a1408
commit
caab810b39
|
@ -366,7 +366,7 @@ _e_pointer_cb_free(E_Pointer *ptr)
|
|||
static void
|
||||
_e_pointer_x11_setup(E_Pointer *ptr, const char *cursor)
|
||||
{
|
||||
if (ptr->e_cursor && (e_comp->comp_type == E_PIXMAP_TYPE_X))
|
||||
if (ptr->e_cursor && (e_comp->comp_type != E_PIXMAP_TYPE_WL))
|
||||
{
|
||||
/* create a pointer canvas if we need to */
|
||||
if ((!ptr->buffer_evas) && ptr->win) _e_pointer_canvas_add(ptr);
|
||||
|
|
Loading…
Reference in New Issue