forked from enlightenment/enlightenment
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:
parent
b89868cc65
commit
847ce5b0d5
|
@ -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;
|
Elm_Win_Trap_Ctx *ctx = data;
|
||||||
EINA_SAFETY_ON_NULL_RETURN_VAL(ctx, EINA_TRUE);
|
EINA_SAFETY_ON_NULL_RETURN_VAL(ctx, EINA_TRUE);
|
||||||
ctx->centered = 0;
|
|
||||||
ctx->placed = 1;
|
ctx->placed = 1;
|
||||||
if (!ctx->client) return EINA_TRUE;
|
if (!ctx->client) return EINA_TRUE;
|
||||||
if ((ctx->client->client.x != x) || (ctx->client->client.y != y))
|
if ((ctx->client->client.x != x) || (ctx->client->client.y != y))
|
||||||
|
|
Loading…
Reference in New Issue