From 3e61fd8917c580421bae9d26195a17c7e1e34ce6 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Thu, 26 Jul 2012 07:23:32 +0000 Subject: [PATCH] Ecore_Wayland: Test for a valid surface before we try to process the pointer_enter event. SVN revision: 74419 --- legacy/ecore/src/lib/ecore_wayland/ecore_wl_input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/legacy/ecore/src/lib/ecore_wayland/ecore_wl_input.c b/legacy/ecore/src/lib/ecore_wayland/ecore_wl_input.c index 679854f42d..9d82f60727 100644 --- a/legacy/ecore/src/lib/ecore_wayland/ecore_wl_input.c +++ b/legacy/ecore/src/lib/ecore_wayland/ecore_wl_input.c @@ -623,6 +623,7 @@ _ecore_wl_input_cb_pointer_enter(void *data, struct wl_pointer *pointer __UNUSED LOGFN(__FILE__, __LINE__, __FUNCTION__); + if (!surface) return; if (!(input = data)) return; if (!input->timestamp)