Revert - [xhandler] Fix not to activate clipboard window again if clipboard window...
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Fri, 2 Aug 2013 04:44:04 +0000 (13:44 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Fri, 2 Aug 2013 04:44:04 +0000 (13:44 +0900)
Change-Id: I2e8e71d053104e5a53e7bf63c8741fc289e71497

src/xhandler.c

index 3dc98f4..a8b58e0 100644 (file)
@@ -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))
        {