never uncenter a centered internal window

a window which has received a call to elm_win_center() can now never auto-uncenter in either axis

ref T2031
This commit is contained in:
Mike Blumenkrantz 2015-01-22 22:39:46 -05:00
parent b89868cc65
commit 847ce5b0d5
1 changed files with 0 additions and 1 deletions

View File

@ -131,7 +131,6 @@ _e_elm_win_trap_move(void *data, Evas_Object *o __UNUSED__, int x, int y)
{
Elm_Win_Trap_Ctx *ctx = data;
EINA_SAFETY_ON_NULL_RETURN_VAL(ctx, EINA_TRUE);
ctx->centered = 0;
ctx->placed = 1;
if (!ctx->client) return EINA_TRUE;
if ((ctx->client->client.x != x) || (ctx->client->client.y != y))