diff options
author | jinwoo.shin <jw0227.shin@samsung.com> | 2015-10-14 10:27:08 +0900 |
---|---|---|
committer | jinwoo.shin <jw0227.shin@samsung.com> | 2015-10-14 10:27:08 +0900 |
commit | 6e8f73dd490d4b82343f22118097308b209d79e7 (patch) | |
tree | cddfd6a693a932c53162e49ce52166de085cdd40 /src | |
parent | d43ddb14c6a940553168a2741d11d6817f1cf98f (diff) | |
download | air_livetv-6e8f73dd490d4b82343f22118097308b209d79e7.tar.gz air_livetv-6e8f73dd490d4b82343f22118097308b209d79e7.tar.bz2 air_livetv-6e8f73dd490d4b82343f22118097308b209d79e7.zip |
Relocate Super_L handling codetizen_3.0.m2.a1_tv_releasesubmit/tizen/20151014.084340accepted/tizen/tv/20151014.093643
Change-Id: Ie78c070d5bd848d309fa9e878b7e026cb98351d7
Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -87,6 +87,13 @@ static Eina_Bool _event(void *data, Evas_Object *obj, Evas_Object *src, char *keyname; int update_type; + if (type == EVAS_CALLBACK_KEY_DOWN && + !strcmp(((Evas_Event_Key_Down *)ei)->keyname, + KEY_SUPER_L)) { + util_launch_home(); + return EINA_TRUE; + } + if (!data) { _ERR("failed to get data"); return EINA_FALSE; @@ -122,12 +129,6 @@ static Eina_Bool _event(void *data, Evas_Object *obj, Evas_Object *src, } } - if (type == EVAS_CALLBACK_KEY_DOWN && - !strcmp(keyname, KEY_SUPER_L)) { - util_launch_home(); - return EINA_TRUE; - } - return EINA_FALSE; } |