focus: fixed bug for setting focus window. 44/78744/1 accepted/tizen/ivi/20160707.042649 accepted/tizen/mobile/20160707.042730 accepted/tizen/tv/20160707.042702 accepted/tizen/wearable/20160707.042715 submit/tizen/20160706.150227
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 6 Jul 2016 14:49:58 +0000 (23:49 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Wed, 6 Jul 2016 14:49:58 +0000 (23:49 +0900)
Change-Id: Ia543b5833f0dedadb27f192a8a6bb92906bdd5ce

src/bin/e_client.c

index d84641f19111ed54f501d3887cd39bf137648490..ebda1f34b667b712c4435490cab48bfa7c820ebb 100644 (file)
@@ -2430,7 +2430,9 @@ _e_client_eval(E_Client *ec)
         if ((e_config->focus_setting == E_FOCUS_NEW_WINDOW) || (ec->want_focus))
           {
              ec->want_focus = 0;
+#if 0 // focus should be set to the top window
              e_client_focus_set_with_pointer(ec);
+#endif
           }
         else if (ec->dialog)
           {
@@ -4864,8 +4866,10 @@ e_client_uniconify(E_Client *ec)
    e_client_comp_hidden_set(ec, 0);
    ec->deskshow = ec->iconic = 0;
 
+#if 0 // focus should be set to the top window not uniconify window
    if (ec->pixmap && e_pixmap_usable_get(ec->pixmap))
       evas_object_focus_set(ec->frame, 1);
+#endif
 
    _e_client_event_simple(ec, E_EVENT_CLIENT_UNICONIFY);