summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen 'Okra' Houston <smhouston88@gmail.com>2017-02-21 11:06:45 -0600
committerStephen 'Okra' Houston <smhouston88@gmail.com>2017-02-21 11:06:45 -0600
commit25950ccfa9d8ff8c34706cf08ab02c143de88e01 (patch)
tree52f0039a63692f3559d211dd6428a90c72a2de3b
parent57b8f3e0934f920cc8de307766df801ca37e3529 (diff)
Bryce: Don't proceed to process the mouse down event structure if it is null in the post callback.
-rw-r--r--src/bin/e_bryce.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/e_bryce.c b/src/bin/e_bryce.c
index 1d57fcb02..f5c039e4a 100644
--- a/src/bin/e_bryce.c
+++ b/src/bin/e_bryce.c
@@ -573,6 +573,8 @@ _bryce_mouse_down_post(void *data, Evas *e EINA_UNUSED)
573 Bryce *b = data; 573 Bryce *b = data;
574 Evas_Event_Mouse_Down *ev; 574 Evas_Event_Mouse_Down *ev;
575 575
576 if (!b->event_info)
577 return EINA_FALSE;
576 ev = b->event_info; 578 ev = b->event_info;
577 b->event_info = NULL; 579 b->event_info = NULL;
578 if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_TRUE; 580 if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_TRUE;