forked from enlightenment/efl
ecore-wl2: pass display to aux hint event_adds
fixes display refcounting
ref 6bb56b3f56
@fix
This commit is contained in:
parent
3749125745
commit
4e68271416
|
@ -143,7 +143,7 @@ _aux_hints_supported_aux_hints(void *data, struct efl_aux_hints *aux_hints EINA_
|
|||
ev->win = win->id;
|
||||
ev->display = ewd;
|
||||
ewd->refs++;
|
||||
ecore_event_add(ECORE_WL2_EVENT_AUX_HINT_SUPPORTED, ev, _display_event_free, NULL);
|
||||
ecore_event_add(ECORE_WL2_EVENT_AUX_HINT_SUPPORTED, ev, _display_event_free, ewd);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -163,7 +163,7 @@ _aux_hints_allowed_aux_hint(void *data, struct efl_aux_hints *aux_hints EINA_UN
|
|||
ev->id = id;
|
||||
ev->display = ewd;
|
||||
ewd->refs++;
|
||||
ecore_event_add(ECORE_WL2_EVENT_AUX_HINT_ALLOWED, ev, _display_event_free, NULL);
|
||||
ecore_event_add(ECORE_WL2_EVENT_AUX_HINT_ALLOWED, ev, _display_event_free, ewd);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue