return EINA_TRUE;
}
+static Eina_Bool
+_evas_event_pointer_cb(void *data, const Eo_Event *ev)
+{
+ Eo *win = data;
+ Eo *evt = ev->info;
+
+ eo_event_callback_call(win, EFL_GFX_EVENT_POINTER, evt);
+ return EO_CALLBACK_CONTINUE;
+}
+
+EO_CALLBACKS_ARRAY_DEFINE(_elm_win_evas_forward_callbacks,
+ { EVAS_CANVAS_EVENT_POINTER, _evas_event_pointer_cb })
+
static void
_deferred_ecore_evas_free(void *data)
{
EVAS_CALLBACK_CHANGED_SIZE_HINTS,
_elm_win_on_resize_obj_changed_size_hints,
obj);
+ eo_event_callback_array_del(sd->evas, _elm_win_evas_forward_callbacks(), obj);
+
evas_object_del(sd->box);
evas_object_del(sd->edje);
if (_elm_config->atspi_mode)
elm_interface_atspi_window_created_signal_emit(obj);
+ eo_event_callback_array_add(sd->evas, _elm_win_evas_forward_callbacks(), obj);
+
evas_object_show(sd->edje);
if (type == ELM_WIN_FAKE)
y: int;
}
}
- /*
- @property input_state {
- [[Carries information about keyboard modifiers and locks
- at the moment of this event (eg. Ctrl, Alt or Caps Lock, Num Lock).]]
- values {
- modifiers: Efl.Input.State*; [[Can be $null (no info about state).]]
- }
- }
- */
@property device {
[[Pointing device that originated this event.]]
values {