aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_zone.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/e_zone.c')
-rw-r--r--src/bin/e_zone.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/bin/e_zone.c b/src/bin/e_zone.c
index 946e3172a..dc70e2abb 100644
--- a/src/bin/e_zone.c
+++ b/src/bin/e_zone.c
@@ -1547,6 +1547,8 @@ _e_zone_cb_mouse_in(void *data,
E_Event_Zone_Edge *zev;
E_Zone_Edge edge;
E_Zone *zone;
+ const Eina_List *l;
+ Ecore_Evas *ee;
ev = event;
zone = data;
@@ -1560,6 +1562,14 @@ _e_zone_cb_mouse_in(void *data,
zev->x = ev->root.x;
zev->y = ev->root.y;
zev->modifiers = ev->modifiers;
+ EINA_LIST_FOREACH(e_canvas_list(), l, ee)
+ {
+ /* FIXME: comp */
+ if (!evas_pointer_button_down_mask_get(ecore_evas_get(ee))) continue;
+ zev->drag = 1;
+ break;
+ }
+
ecore_event_add(E_EVENT_ZONE_EDGE_IN, zev, NULL, NULL);
e_bindings_edge_in_event_handle(E_BINDING_CONTEXT_ZONE, E_OBJECT(zone), zev);
@@ -1575,6 +1585,8 @@ _e_zone_cb_mouse_out(void *data,
E_Event_Zone_Edge *zev;
E_Zone_Edge edge;
E_Zone *zone;
+ const Eina_List *l;
+ Ecore_Evas *ee;
ev = event;
zone = data;
@@ -1588,6 +1600,14 @@ _e_zone_cb_mouse_out(void *data,
zev->x = ev->root.x;
zev->y = ev->root.y;
zev->modifiers = ev->modifiers;
+ EINA_LIST_FOREACH(e_canvas_list(), l, ee)
+ {
+ /* FIXME: comp */
+ if (!evas_pointer_button_down_mask_get(ecore_evas_get(ee))) continue;
+ zev->drag = 1;
+ break;
+ }
+
ecore_event_add(E_EVENT_ZONE_EDGE_OUT, zev, NULL, NULL);
e_bindings_edge_out_event_handle(E_BINDING_CONTEXT_ZONE, E_OBJECT(zone), zev);
return ECORE_CALLBACK_PASS_ON;