forked from enlightenment/enlightenment
force wl client cursor clients to hide when unset from pointer
This commit is contained in:
parent
f39630fc8c
commit
1bf6603baa
|
@ -205,7 +205,13 @@ _e_comp_wl_evas_cb_mouse_out(void *data, Evas *evas EINA_UNUSED, Evas_Object *ob
|
|||
|
||||
ecore_evas_cursor_get(e_comp->ee, &o, NULL, NULL, NULL);
|
||||
if (e_comp->pointer->o_ptr != o)
|
||||
e_pointer_object_set(e_comp->pointer, NULL, 0, 0);
|
||||
{
|
||||
E_Client *pec;
|
||||
|
||||
pec = e_comp_object_client_get(o);
|
||||
if (pec) pec->hidden = 1;
|
||||
e_pointer_object_set(e_comp->pointer, NULL, 0, 0);
|
||||
}
|
||||
}
|
||||
if (e_object_is_del(E_OBJECT(ec))) return;
|
||||
|
||||
|
|
|
@ -49,6 +49,7 @@ _e_comp_wl_input_pointer_cb_cursor_set(struct wl_client *client, struct wl_resou
|
|||
}
|
||||
/* ignore cursor changes during resize/move I guess */
|
||||
if (e_client_action_get()) return;
|
||||
ec->hidden = 0;
|
||||
e_pointer_object_set(e_comp->pointer, ec->frame, x, y);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue