Ecore_Wayland: Test for a valid surface before we try to process the
authordevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 26 Jul 2012 07:23:32 +0000 (07:23 +0000)
committerdevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 26 Jul 2012 07:23:32 +0000 (07:23 +0000)
pointer_enter event.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@74419 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_wayland/ecore_wl_input.c

index 679854f..9d82f60 100644 (file)
@@ -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)