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:
14a9318
)
clip client input rect to client geometry, not window geometry
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Thu, 22 Oct 2015 22:44:51 +0000
(18:44 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Thu, 22 Oct 2015 22:44:51 +0000
(18:44 -0400)
when using csd, the window geometry will be smaller than the surface,
resulting in an unusually small input region
src/bin/e_comp_object.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_object.c
b/src/bin/e_comp_object.c
index
bdedd97
..
24d8dbc
100644
(file)
--- a/
src/bin/e_comp_object.c
+++ b/
src/bin/e_comp_object.c
@@
-2891,7
+2891,7
@@
e_comp_object_input_area_set(Evas_Object *obj, int x, int y, int w, int h)
API_ENTRY;
//INF("%d,%d %dx%d", x, y, w, h);
- E_RECTS_CLIP_TO_RECT(x, y, w, h, 0, 0, cw->ec->
w, cw->ec->
h);
+ E_RECTS_CLIP_TO_RECT(x, y, w, h, 0, 0, cw->ec->
client.w, cw->ec->client.
h);
if ((cw->input_rect.x == x) && (cw->input_rect.y == y) &&
(cw->input_rect.w == w) && (cw->input_rect.h == h)) return;
EINA_RECTANGLE_SET(&cw->input_rect, x, y, w, h);