e_service_quickpanel: added code checking the current focus window is quickpanel... 26/100526/1 accepted/tizen/3.0/common/20161129.103301 accepted/tizen/3.0/ivi/20161129.002212 accepted/tizen/3.0/mobile/20161129.002128 accepted/tizen/3.0/tv/20161129.002147 accepted/tizen/3.0/wearable/20161129.002200 accepted/tizen/common/20161128.170848 accepted/tizen/ivi/20161129.001644 accepted/tizen/mobile/20161129.001546 accepted/tizen/tv/20161129.001608 accepted/tizen/wearable/20161129.001624 submit/tizen/20161128.121314 submit/tizen_3.0/20161128.121222
authorDoyoun Kang <doyoun.kang@samsung.com>
Mon, 28 Nov 2016 10:15:49 +0000 (19:15 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Mon, 28 Nov 2016 10:15:49 +0000 (19:15 +0900)
there was a bug that the quickpanel was hidden immediately when it was shown.
(if the quickpanel could get the focus).

Change-Id: I67c27784a5af3797489514f3180d345e3ced74e1

src/bin/services/e_service_quickpanel.c

index b2cc0c5..5c43c0b 100644 (file)
@@ -1217,6 +1217,9 @@ _quickpanel_cb_client_focus_in(void *data, int type, void *event)
    ec = ev->ec;
    EINA_SAFETY_ON_NULL_GOTO(ec, end);
 
+   if (ec == qp->ec)
+     goto end;
+
    if (ec->visible)
      {
         DBG("Focus changed to '%s'(%x), Hide QP",