always feed mouse events for wl client move events

better handling for xwayland case of moving pointer into ssd region
This commit is contained in:
Mike Blumenkrantz 2017-03-17 13:17:02 -04:00
parent 7f142f31f5
commit 1be8a5a590
1 changed files with 5 additions and 1 deletions

View File

@ -373,8 +373,12 @@ _e_comp_wl_evas_cb_mouse_move(void *data, Evas *evas EINA_UNUSED, Evas_Object *o
Evas_Event_Mouse_Move *ev = event;
if (ec == e_client_action_get()) return;
if (!_e_comp_wl_evas_cb_mouse_internal_check(ec, ev->cur.canvas.x, ev->cur.canvas.y)) return;
if (!ec->mouse.in) return;
if (!_e_comp_wl_evas_cb_mouse_internal_check(ec, ev->cur.canvas.x, ev->cur.canvas.y))
{
e_client_mouse_move(ec, &(Evas_Point){ev->cur.canvas.x, ev->cur.canvas.y});
return;
}
if (e_object_is_del(E_OBJECT(ec))) return;
if (ec->ignored) return;
if (!ec->comp_data->surface) return;