From 378e3ac4767b34aa1c050778cd7827a0936bbe92 Mon Sep 17 00:00:00 2001 From: Hosang Kim Date: Tue, 24 Sep 2019 12:48:08 +0900 Subject: [PATCH] elm_conform: initialize variables for resizing part. Change-Id: I21ef8eb27f6a2c37aaa5ae190d8869a1ce2ce4cb --- src/lib/elementary/elm_conform.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/elementary/elm_conform.c b/src/lib/elementary/elm_conform.c index be5e034..d8d2f44 100644 --- a/src/lib/elementary/elm_conform.c +++ b/src/lib/elementary/elm_conform.c @@ -320,6 +320,7 @@ _conformant_part_sizing_eval(Evas_Object *obj, if (part_type & ELM_CONFORMANT_VIRTUAL_KEYPAD_PART) { + sx = sy = sw = sh = -1; #ifdef HAVE_ELEMENTARY_X if ((!_conformant_part_geometry_get_from_env ("ILLUME_KBD", &sx, &sy, &sw, &sh)) && (xwin)) @@ -401,6 +402,7 @@ _conformant_part_sizing_eval(Evas_Object *obj, if (part_type & ELM_CONFORMANT_SOFTKEY_PART) { + sx = sy = sw = sh = -1; #ifdef HAVE_ELEMENTARY_X if ((!_conformant_part_geometry_get_from_env ("ILLUME_STK", &sx, &sy, &sw, &sh)) && (xwin)) @@ -417,6 +419,7 @@ _conformant_part_sizing_eval(Evas_Object *obj, } if (part_type & ELM_CONFORMANT_CLIPBOARD_PART) { + sx = sy = sw = sh = -1; #ifdef HAVE_ELEMENTARY_X if ((!_conformant_part_geometry_get_from_env ("ILLUME_CB", &sx, &sy, &sw, &sh)) && (xwin)) -- 2.7.4