e_service_quickpanel.c:add move callback to update qp's below 59/111159/2
authorMinsu Seo <minsu15.seo@samsung.com>
Fri, 20 Jan 2017 00:43:06 +0000 (09:43 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Tue, 24 Jan 2017 07:51:54 +0000 (23:51 -0800)
Change-Id: I7447fe4b3850f1250b6fab185aa16bf98c226c05

src/bin/services/e_service_quickpanel.c

index 9312ce6a26e8b73b97569c5a06538e4b66179b31..0e0ded70781ac4637c9db6b42f897607e5a931ed 100644 (file)
@@ -1157,6 +1157,7 @@ end:
  * the quickpanel to turn on the WiFi.
  * @see  _quickpanel_cb_client_show(),
  *       _quickpanel_cb_client_hide()
+ *       _quickpanel_cb_client_move()
  *       _quickpanel_cb_client_stack()
  *       _quickpanel_cb_client_remove()
  *       _quickpanel_idle_enter()
@@ -1218,6 +1219,13 @@ _quickpanel_cb_client_hide(void *data, int type, void *event)
    return ECORE_CALLBACK_PASS_ON;
 }
 
+static Eina_Bool
+_quickpanel_cb_client_move(void *data, int type, void *event)
+{
+   _quickpanel_below_change_eval(data, event);
+   return ECORE_CALLBACK_PASS_ON;
+}
+
 static Eina_Bool
 _quickpanel_cb_client_stack(void *data, int type, void *event)
 {
@@ -1559,6 +1567,7 @@ e_service_quickpanel_client_set(E_Client *ec)
    E_LIST_HANDLER_APPEND(qp->events, E_EVENT_CLIENT_ROTATION_CHANGE_END,      _quickpanel_cb_rotation_done,    qp);
    E_LIST_HANDLER_APPEND(qp->events, E_EVENT_CLIENT_SHOW,                     _quickpanel_cb_client_show,      qp);
    E_LIST_HANDLER_APPEND(qp->events, E_EVENT_CLIENT_HIDE,                     _quickpanel_cb_client_hide,      qp);
+   E_LIST_HANDLER_APPEND(qp->events, E_EVENT_CLIENT_MOVE,                     _quickpanel_cb_client_move, qp);
    E_LIST_HANDLER_APPEND(qp->events, E_EVENT_CLIENT_STACK,                    _quickpanel_cb_client_stack,     qp);
    E_LIST_HANDLER_APPEND(qp->events, E_EVENT_CLIENT_REMOVE,                   _quickpanel_cb_client_remove,    qp);
    E_LIST_HANDLER_APPEND(qp->events, E_EVENT_CLIENT_BUFFER_CHANGE,            _quickpanel_cb_buffer_change,    qp);