Bryce: Don't proceed to process the mouse down event structure if it is null in the post callback.

This commit is contained in:
Stephen 'Okra' Houston 2017-02-21 11:06:45 -06:00
parent 57b8f3e093
commit 25950ccfa9
1 changed files with 2 additions and 0 deletions

View File

@ -573,6 +573,8 @@ _bryce_mouse_down_post(void *data, Evas *e EINA_UNUSED)
Bryce *b = data;
Evas_Event_Mouse_Down *ev;
if (!b->event_info)
return EINA_FALSE;
ev = b->event_info;
b->event_info = NULL;
if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_TRUE;