summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2_surface.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2018-07-06 10:16:21 -0400
committerChris Michael <cp.michael@samsung.com>2018-07-06 10:16:21 -0400
commit78f27a3efff24ba3b935cc9e2620718e51af9304 (patch)
tree13a69cef3687cb032c8eae6110a0a95133a804ec /src/lib/ecore_wl2/ecore_wl2_surface.c
parentacb125419f922d2a0826960633536969eced5ce7 (diff)
ecore_wl2: Replace window ids with pointers
Summary: There's no benefit to generating ids instead of just using the Ecore_Wl2_Window pointer in events. This has the added benefit of working around a really nasty hash collision bug when multiple ecore_evas engines are used at once. ref T7053 ref T6222 @beta_break Depends on D6521 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #committers, zmike Tags: #efl Maniphest Tasks: T7053, T6222 Differential Revision: https://phab.enlightenment.org/D6522
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_surface.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_surface.c b/src/lib/ecore_wl2/ecore_wl2_surface.c
index 0f769b486b..b2029d11f6 100644
--- a/src/lib/ecore_wl2/ecore_wl2_surface.c
+++ b/src/lib/ecore_wl2/ecore_wl2_surface.c
@@ -76,7 +76,7 @@ _ecore_wl2_surface_cb_offscreen(void *data, int type EINA_UNUSED, void *event)
76 Ecore_Wl2_Event_Window_Offscreen *ev = event; 76 Ecore_Wl2_Event_Window_Offscreen *ev = event;
77 Ecore_Wl2_Surface *surf = data; 77 Ecore_Wl2_Surface *surf = data;
78 78
79 if (surf->wl2_win->id == (int)ev->win) 79 if (surf->wl2_win == ev->win)
80 ecore_wl2_surface_flush(surf, EINA_FALSE); 80 ecore_wl2_surface_flush(surf, EINA_FALSE);
81 81
82 return ECORE_CALLBACK_RENEW; 82 return ECORE_CALLBACK_RENEW;