projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7726023
)
e_comp_wl: do not move coordination using min axis value
54/221454/2
author
jeon
<jhyuni.kang@samsung.com>
Thu, 2 Jan 2020 11:23:20 +0000
(20:23 +0900)
committer
JeongHyun Kang
<jhyuni.kang@samsung.com>
Mon, 20 Jan 2020 07:12:27 +0000
(07:12 +0000)
- we get mouse position in output value, so don't move min axis
Change-Id: I246e4135495cf629e26a974d0a01688c2358324a
src/bin/e_comp_wl.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl.c
b/src/bin/e_comp_wl.c
index 22a9050b6f4ece29de1cec884ab1c9562d29fce5..06da4baa10015eda409873b6b2aa5397ae81b70b 100644
(file)
--- 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