QP area.
For easier opening of QP, needs to emit mouse move events directly. Only
checking in horizontal direction is not enough, as second finger always out of QP
area. So, checking if y cordinate of fingers if lying in QP area in vertical
direction makes more sense.
Change-Id: I935bba628bf05b2f29788a61ca4c6a643b8928da
Signed-off-by: Prasoon Singh <prasoon.16@samsung.com>
(cherry picked from commit
b5276ad51c0c457f998976b47fba667f9a0cab02)
_on_screen_edge(Cover *cov)
{
E_Accessibility_Conf_Edd* conf = e_accessibility_get_configuration();
+
+ if (((cov->hover_gesture.y[0] < cov->zone.y + conf->gesture.quickpanel_area_size)
+ && (cov->hover_gesture.y[1] < cov->zone.y + conf->gesture.quickpanel_area_size))
+ || ((cov->hover_gesture.y[0] > cov->zone.y + cov->zone.h - conf->gesture.quickpanel_area_size)
+ && (cov->hover_gesture.y[1] > cov->zone.y + cov->zone.h - conf->gesture.quickpanel_area_size)))
+ return EINA_TRUE;
+
if (((cov->hover_gesture.x[0] < cov->zone.x + conf->gesture.quickpanel_area_size)
&& (cov->hover_gesture.x[1] < cov->zone.x + conf->gesture.quickpanel_area_size))
|| ((cov->hover_gesture.x[0] > cov->zone.x + cov->zone.w - conf->gesture.quickpanel_area_size)