If the ec->frame's size are 0x0, it means that the geometry of ec->frame is invalid.
In this case, e_client_geometry_get() returned the size value using ec's size itself,
but position value returned by invalid value.
This patch changes the returned geometry of e_client_geometry_get() to ec's geometry
itself in this case.
Change-Id: Ifb465d4d78fb02a0f207b46fd939f03e6433bf4b
*/
gw = ec->w;
gh = ec->h;
-
- if ((ec->changes.pos) &&
- ((gx != ec->x) || (gy != ec->y)))
- {
- gx = ec->x;
- gy = ec->y;
- }
+ gx = ec->x;
+ gy = ec->y;
}
}
else