summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-01-15 18:24:00 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-02-03 18:34:28 -0500
commiteb9a4f18330a61e66a5e6f1077f824fbd9685a83 (patch)
tree5f9e116cd82e171af1629934694cc6fae1c493b6
parent4150edd70d1292b4f806596989f2dc4d4490453d (diff)
raise client zoom obj on mouse in
-rw-r--r--src/zoom.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/zoom.c b/src/zoom.c
index a24585d..bb3ba40 100644
--- a/src/zoom.c
+++ b/src/zoom.c
@@ -100,6 +100,12 @@ _client_mouse_down(E_Client *ec EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *o
100} 100}
101 101
102static void 102static void
103_client_mouse_in(E_Client *ec, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Evas_Event_Mouse_Up *ev)
104{
105 evas_object_raise(obj);
106}
107
108static void
103_client_mouse_up(E_Client *ec, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Evas_Event_Mouse_Up *ev) 109_client_mouse_up(E_Client *ec, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Evas_Event_Mouse_Up *ev)
104{ 110{
105 E_Zone *zone; 111 E_Zone *zone;
@@ -218,6 +224,7 @@ _zoomobj_add_client(Evas_Object *zoom_obj, Eina_List *l, Evas_Object *m)
218 e_theme_edje_object_set(e, NULL, "e/modules/desksanity/zoom/client"); 224 e_theme_edje_object_set(e, NULL, "e/modules/desksanity/zoom/client");
219 evas_object_event_callback_add(e, EVAS_CALLBACK_MOUSE_DOWN, (Evas_Object_Event_Cb)_client_mouse_down, ec); 225 evas_object_event_callback_add(e, EVAS_CALLBACK_MOUSE_DOWN, (Evas_Object_Event_Cb)_client_mouse_down, ec);
220 evas_object_event_callback_add(e, EVAS_CALLBACK_MOUSE_UP, (Evas_Object_Event_Cb)_client_mouse_up, ec); 226 evas_object_event_callback_add(e, EVAS_CALLBACK_MOUSE_UP, (Evas_Object_Event_Cb)_client_mouse_up, ec);
227 evas_object_event_callback_add(e, EVAS_CALLBACK_MOUSE_IN, (Evas_Object_Event_Cb)_client_mouse_in, ec);
221 if ((!zmw) && (!zmh)) 228 if ((!zmw) && (!zmh))
222 edje_object_size_min_calc(e, &zmw, &zmh); 229 edje_object_size_min_calc(e, &zmw, &zmh);
223 edje_object_signal_callback_add(e, "e,action,activate", "e", _client_activate, ec); 230 edje_object_signal_callback_add(e, "e,action,activate", "e", _client_activate, ec);