e_comp_wl: Do not send mouse move event if ec is fully obscured and touch cancelled 24/79624/2
authorDuna Oh <duna.oh@samsung.com>
Tue, 12 Jul 2016 05:52:00 +0000 (14:52 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Wed, 13 Jul 2016 01:27:03 +0000 (18:27 -0700)
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: Ia0a0d0429d05ddbfeea7e0b235e2352b1115bb28

src/bin/e_comp_wl.c

index e605613458524f929cd426027a77f738ed29cc55..6874485d5a1053778c8fa1d9f25f84d7fb0ab2b1 100644 (file)
@@ -1023,7 +1023,7 @@ _e_comp_wl_evas_cb_mouse_move(void *data, Evas *evas EINA_UNUSED, Evas_Object *o
    if (ec->ignored) return;
    if (!ec->comp_data->surface) return;
 
-   if (!need_send_motion && !need_send_released && !ec->vkbd.vkbd) return;
+   if ((!need_send_motion) && (!need_send_released) && (ec->visibility.obscured == E_VISIBILITY_FULLY_OBSCURED)) return;
 
    if ((!e_comp_wl->drag_client) ||
        (!e_client_has_xwindow(e_comp_wl->drag_client)))