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:
1c82215
)
another revision for client geometry resets: take new geometry instead of ignoring it
author
Mike Blumenkrantz
<zmike@samsung.com>
Fri, 14 Feb 2014 18:43:15 +0000
(13:43 -0500)
committer
Mike Blumenkrantz
<zmike@samsung.com>
Fri, 14 Feb 2014 18:43:15 +0000
(13:43 -0500)
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
846c724
..
12ef006
100644
(file)
--- a/
src/bin/e_comp_object.c
+++ b/
src/bin/e_comp_object.c
@@
-692,8
+692,9
@@
_e_comp_intercept_move(void *data, Evas_Object *obj, int x, int y)
{
if ((cw->ec->x != x) || (cw->ec->y != y))
{
- cw->ec->post_move = 0;
cw->ec->x = x, cw->ec->y = y;
+ cw->ec->client.x = x + cw->client_inset.l;
+ cw->ec->client.y = y + cw->client_inset.t;
}
return;
}
@@
-750,8
+751,9
@@
_e_comp_intercept_resize(void *data, Evas_Object *obj, int w, int h)
{
if ((cw->ec->w != w) || (cw->ec->h != h))
{
- cw->ec->post_resize = 0;
cw->ec->w = w, cw->ec->h = h;
+ cw->ec->client.w = w - cw->client_inset.l - cw->client_inset.r;
+ cw->ec->client.h = h - cw->client_inset.t - cw->client_inset.b;
}
return;
}