summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-08-04 16:11:00 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-08-04 16:10:31 -0400
commit4e68271416b251fb0dd730c14bde012d96744876 (patch)
tree3e68dd98875a1f2dc54725c2a5b2b3110b067d6b /src/lib/ecore_wl2
parent374912574523cca5dad75e6330a9673dd1c3c662 (diff)
ecore-wl2: pass display to aux hint event_adds
fixes display refcounting ref 6bb56b3f5651fab85b1a0a1a1a8040f4e488c799 @fix
Diffstat (limited to 'src/lib/ecore_wl2')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_display.c b/src/lib/ecore_wl2/ecore_wl2_display.c
index f1699ecbad..dc7fb0df49 100644
--- a/src/lib/ecore_wl2/ecore_wl2_display.c
+++ b/src/lib/ecore_wl2/ecore_wl2_display.c
@@ -143,7 +143,7 @@ _aux_hints_supported_aux_hints(void *data, struct efl_aux_hints *aux_hints EINA_
143 ev->win = win->id; 143 ev->win = win->id;
144 ev->display = ewd; 144 ev->display = ewd;
145 ewd->refs++; 145 ewd->refs++;
146 ecore_event_add(ECORE_WL2_EVENT_AUX_HINT_SUPPORTED, ev, _display_event_free, NULL); 146 ecore_event_add(ECORE_WL2_EVENT_AUX_HINT_SUPPORTED, ev, _display_event_free, ewd);
147} 147}
148 148
149static void 149static void
@@ -163,7 +163,7 @@ _aux_hints_allowed_aux_hint(void *data, struct efl_aux_hints *aux_hints EINA_UN
163 ev->id = id; 163 ev->id = id;
164 ev->display = ewd; 164 ev->display = ewd;
165 ewd->refs++; 165 ewd->refs++;
166 ecore_event_add(ECORE_WL2_EVENT_AUX_HINT_ALLOWED, ev, _display_event_free, NULL); 166 ecore_event_add(ECORE_WL2_EVENT_AUX_HINT_ALLOWED, ev, _display_event_free, ewd);
167} 167}
168 168
169 static void 169 static void