From: Jaehyun Cho Date: Fri, 2 Aug 2013 04:44:04 +0000 (+0900) Subject: Revert - [xhandler] Fix not to activate clipboard window again if clipboard window... X-Git-Tag: 2.2_release~2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=893bb8fb24e487cb802952edecdc1020bb1609fd;p=framework%2Fuifw%2Fcbhm.git Revert - [xhandler] Fix not to activate clipboard window again if clipboard window is already activated Change-Id: I2e8e71d053104e5a53e7bf63c8741fc289e71497 --- diff --git a/src/xhandler.c b/src/xhandler.c index 3dc98f4..a8b58e0 100644 --- a/src/xhandler.c +++ b/src/xhandler.c @@ -467,19 +467,13 @@ static Eina_Bool _xclient_msg_cb(void *data, int type, void *event) } else if (strncmp("show", ev->data.b, 4) == 0) { - Ecore_X_Window zone = ecore_x_e_illume_zone_get(cd->x_main_win); - Ecore_X_Illume_Clipboard_State state = ecore_x_e_illume_clipboard_state_get(zone); - - if ((state != ECORE_X_ILLUME_CLIPBOARD_STATE_ON || ad->x_active_win != ev->win)) - { - ad->x_active_win = ev->win; - if (ev->data.b[4] == '1') - clipdrawer_paste_textonly_set(ad, EINA_FALSE); - else - clipdrawer_paste_textonly_set(ad, EINA_TRUE); + ad->x_active_win = ev->win; + if (ev->data.b[4] == '1') + clipdrawer_paste_textonly_set(ad, EINA_FALSE); + else + clipdrawer_paste_textonly_set(ad, EINA_TRUE); - clipdrawer_activate_view(ad); - } + clipdrawer_activate_view(ad); } else if (!strcmp("cbhm_hide", ev->data.b)) {