From: jeon Date: Thu, 2 Jan 2020 11:23:20 +0000 (+0900) Subject: e_comp_wl: do not move coordination using min axis value X-Git-Tag: submit/tizen/20200206.060445~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F54%2F221454%2F2;p=platform%2Fupstream%2Fenlightenment.git e_comp_wl: do not move coordination using min axis value - we get mouse position in output value, so don't move min axis Change-Id: I246e4135495cf629e26a974d0a01688c2358324a --- diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 22a9050b6f..06da4baa10 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -492,8 +492,8 @@ e_comp_wl_map_inv_coord_get(E_Client *ec, int x, int y, int *mx, int *my) diff_w = (double)(max_x - min_x) / (double)ec->w; diff_h = (double)(max_y - min_y) / (double)ec->h; - *mx = (int)(x * diff_w) + min_x; - *my = (int)(y * diff_h) + min_y; + *mx = (int)(x * diff_w); + *my = (int)(y * diff_h); } static void