From: Hyoyoung Chang Date: Wed, 27 Oct 2010 03:02:28 +0000 (+0900) Subject: add processing KEY_END X-Git-Tag: 2.0_alpha~219 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47edf39abb33a2b7149ba6222f273a3b0bf718c3;p=framework%2Fuifw%2Fcbhm.git add processing KEY_END --- diff --git a/src/cbhm_main.c b/src/cbhm_main.c index c8ea253..08f9ae7 100644 --- a/src/cbhm_main.c +++ b/src/cbhm_main.c @@ -82,8 +82,7 @@ static Evas_Object* create_win(void *data, const char *name) elm_win_title_set(eo, name); elm_win_borderless_set(eo, EINA_TRUE); ecore_x_window_size_get(ecore_x_window_root_first_get(), &w, &h); - ad->root_w = w; - ad->root_h = h; + ad->root_w = w; ad->root_h = h; evas_object_resize(eo, w, h); } diff --git a/src/scrcapture.c b/src/scrcapture.c index f481543..59eb2b9 100644 --- a/src/scrcapture.c +++ b/src/scrcapture.c @@ -2,6 +2,7 @@ #include "cbhm_main.h" #include "xcnphandler.h" #include "scrcapture.h" +#include "clipdrawer.h" #include #include @@ -136,6 +137,8 @@ static Eina_Bool scrcapture_keydown_cb(void *data, int type, void *event) { savedtime = 0.0; savedkey = 0; + if (!strcmp(ev->keyname, KEY_END)) + clipdrawer_lower_view(ad); } return ECORE_CALLBACK_PASS_ON;